QB Source Code is Moving to GitHub

It’s not that we’re scared of the Tunaki, nor that we are obsessed with Cthulhu and the Octocat will do as a fine substitute. We are retiring our self-hosted Gitlab due to a few major differences in the two source code hosting facilities. Let’s outline them below, then we’ll discuss how this may effect you. ( especially if you haven’t really been paying attention 😛 )

The benefits of moving to GitHub from our own self-hosted GitLab (so lovingly nicknamed QuickLab) were far outweighing the cons, I personally had to take  a moment to list a few pros and cons of the solutions and the list turned out to be a waste of time! Why you ask, it’s simple, here’s why we’re moving to GitHub (and have already moved FYI)


Aside from GitHub having partial svn support, for those that need such a thing. GitHub has a far superior user base, counting some 15 million users as of August of 2016! This is a huge bonus as the platform is already popular among many users, ranging from your everyday user looking to do things themselves and/or learn; all the way to high-end developers of some of the worlds most popular software and deployment solutions. The reason here is obvious. By hosting our source code via GitHub, we have the ability to put ourselves in a more friendly and easy to attain solution for those willing to either get their hands on QuickBox, or even help to develop on top.

The next big factor is GitLab is a self-hosted solution. This is fine as in the entire course of our GitLab server being online, there has not been more than 5 minutes of downtime… which was intentional on our part to rebuild some of it’s deliverable to be more suitable to us. This however adds to the already large volume of workload that I or anyone of the QuickBox volunteer staff already have. Therefore, it makes sense to simply host at GitHub.

What does this mean for existing installs?

The only thing that changes is that you will need to manually remove your old ~/QuickBox  stored repositories on your server.

Let’s update now if you haven’t!

[1] login to your server via ssh. Gain root access with sudo su followed up with cd to access your /root directory. Once in your /root directory, type the following to remove your current local QuickBox respositories.

rm -rf ~/QuickBox

If you are already located on the GitHub repo as of v2.4.9, run the following to easily update to the new v2.5.0 QuickBox/QB repo:

wget -O /usr/local/bin/quickbox/system/updateQuickBox https://raw.githubusercontent.com/QuickBox/QB/master/packages/system/updateQuickBox &&
dos2unix $(find /usr/local/bin/quickbox -type f) && chmod +x $(find /usr/local/bin/quickbox -type f)

[2] grab the current/future QuickBox repository with the following:

git clone https://github.com/QuickBox/QB /etc/QuickBox

[3] update your current update function by doing the following:

rm -rf /usr/local/bin/quickbox
cp -r ${local_packages}/. /usr/local/bin/quickbox
dos2unix $(find /usr/local/bin/quickbox -type f)
chmod +x $(find /usr/local/bin/quickbox -type f)
cp -f /usr/local/bin/quickbox/system/reload /usr/bin/reload

[4] run the upgrade script to match any recent changes and to get you on your way:

box upgrade

[5] now update your bash:

source /root/.bashrc

[6] ENJOY!


What does this mean for those hosting code on your ‘QuickLab’?

It means you’ll need to import your code over to GitHub or any source code hosting solution of your choosing. We will be powering down the GitLab server by the end of this week, mark your calendars for February 17, 2017, as all repositories will be offline and will not be able to be recovered.

It’s been a fun ride with GitLab, but with the expansion and ever growing member-base of QuickBox, it was simply an financial and mental expense that makes wise-sense to move away from as we continue onward!

We hope you enjoy this decision… and remember… Stay Human!

Community Replies

  1. Why was the main QuickBox repo removed from Github?

    EDIT: I see it was re-added, though now missing all previous issues/PRs etc.

  2. Yes, there was a minor hiccup on the repo. It will remove status tracking history but not commit history… nothing I can do about that. :frowning:

  3. Ahh, it’s all good. All the stars are gone :frowning:

  4. I know :frowning:
    I’m bummed it happen, but we all make mistakes from time to time.

  5. Preach :joy: It’s the truth.

Continue the discussion The QuickBox Community Plaza