(Assumes your CWD is the root of this repo)
After making desired changes:
- Be sure to set
VERSION
inMakefile
to the new version. - Add changelog entry to
changelog
.
(Should be done once)
This package requires cloning some private GitHub repos meanwhile. In order to be able to build a version of this package, you need to have the correct access rights to these repos.
You may use existing SSH keys or generate new ones. Assuming you have a pair of keys:
$ mkdir .ssh
$ cp path/to/public_key .ssh
$ cp path/to/private_key .ssh
$ make bash
$ make deb
sudo -E dpkg --force-confnew --force-confmiss -i ide50_*.deb
- Build new version of deb as described above.
scp ide50_*.deb [email protected]:~ # copy the deb to mirror
ssh [email protected]
sudo su rbowden # rbowden has the script to update the deb in mirror
cp ide50_*.deb /home/rbowden # copy the deb to rbowden's home folder
cd # go to rbowden's home
chown rbowden:producers ide50_*.deb # fix ownership
sudo bash #prep environment
- Finally execute the scrip that effectively uploads all debs in rbowden's home folder to production. It will ask for gpg password which is in the Heads 1password.
sh deb/deb64.sh
- If you want to delete older versions:
cd /srv/www/vhosts/mirror.cs50.net/htdocs/ide50/2015/dists/trusty/main/binary-amd64; rm ide50_{N-1}; push50 -d
- Wait a few moments for the mirrors to sync.
- At this point it's a good idea to test
sudo apt-get update
in the IDE to make sure everything works. Also, logs and errors generated by update50 can be found at/home/ubuntu/.cs50/logs/update50.log