GithubHelp home page GithubHelp logo

ide50's Introduction

IDE 50

Rolling a new version of ide50 deb

(Assumes your CWD is the root of this repo)

After making desired changes:

  • Be sure to set VERSION in Makefile to the new version.
  • Add changelog entry to changelog.

Authentication

(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

Building

$ make bash
$ make deb

Installing

sudo -E dpkg --force-confnew --force-confmiss -i ide50_*.deb

Pushing deb to mirror

  1. Build new version of deb as described above.
  2. scp ide50_*.deb [email protected]:~ # copy the deb to mirror
  3. ssh [email protected]
  4. sudo su rbowden # rbowden has the script to update the deb in mirror
  5. cp ide50_*.deb /home/rbowden # copy the deb to rbowden's home folder
  6. cd # go to rbowden's home
  7. chown rbowden:producers ide50_*.deb # fix ownership
  8. sudo bash #prep environment
  9. 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.
  10. sh deb/deb64.sh
  11. 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
  12. Wait a few moments for the mirrors to sync.
  13. 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.