Giter Club home page Giter Club logo

cu-cs-apt-packages's Introduction

cu-cs-apt-packages

APT Packages for University of Colorado CS Courses

Published at http://apt.cs.colorado.edu

Andy Sayler (http://www.andysayler.com)
Matt Monaco (http://ngn.cs.colorado.edu/~matt/)

Requirements

  • reprepro
  • equivs
  • ./tools/requirements.txt

Auto Build

To build and publish automatically, run:

# Make Tmp Directory
$ mkdir /tmp/packages

# Download Third Party Packages
$ ./tools/package.py --build_dir /tmp/packages --gpg_dir <KEYS> download --urls_file ./repos/<REPO>/thirdparty.urls

# Build CU CS Packages
$ ./tools/package.py --build_dir /tmp/packages --gpg_dir <KEYS> build --source-dir ./repos/<REPO>/

# Publish Packages
$ ./tools/package.py --build_dir /tmp/packages --gpg_dir <KEYS> publish --repo_dir /srv/apt/ubuntu/ --release <RELEASE>

Old ways; deprecated:

(precise) ./build && ./publish
(trusty) ./build_cu-cs.sh && ./get_thirdparty.sh && ./publish_all.sh

Manual Build

To build manually, see steps below.

To Setup GPG Agent

Install gpg-agent (Debian/Ubuntu):

sudo apt-get install gnupg-agent

Add the following to ~/.profile (Debian/Ubuntu):

# GPG Agent
echo "Setting Up GPG Agent"
eval $(gpg-agent --enable-ssh-support --daemon)

Add the following to ~/.bashrc:

# GPG Agent Setup
GPG_TTY=$(tty)
export GPG_TTY

To Update changelog

From 'debian' package directory, run:

dch -i

To export repo

From 'packages' git repo, run:

git checkout-index -a -f --prefix=PATH/build/

To build package

From 'debian' package directory, run:

equivs-build -f control

To add deb package to repo

From '/var/www/apt/ubuntu' directory, run:

reprepro includedeb precise PATH/build/PATH/NAME.deb

To add source package to repo

From '/var/www/apt/ubuntu' directory, run:

reprepro includedsc precise PATH/build/PATH/NAME.dsc

To list repo packages

From '/var/www/apt/ubuntu' directory, run:

reprepro list precise

cu-cs-apt-packages's People

Contributors

asayler avatar mmonaco avatar davetcoleman avatar

Watchers

James Cloos avatar  avatar  avatar

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.