Skip to content

leegs/apt-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The apt-repo Package

This package provides scripts to simplify generating the Debian-based repositories for courses. It can generate the repository structure and keys from scratch.

Dependencies

The following is an approximate and hasty list of dependencies:

  • ROS
  • bloom-generate

generate_packages.sh

This script generates .deb packages for each ROS package in a directory containing ROS packages.

bash generate_packages.sh <directory_to_scan_for_packages> [whether_to_bump_package_version_numbers]
bash generate_packages.sh ros_ws/src true

The script moves the generated .deb files to the directory where the script was run.

prep_repo.sh

This script creates the bare requirements for a Debian package-based repository. It is also useful to add a README.md and index.html file to the repository so that it can be a web page as well.

The new .deb files must be placed in the <base_name>-webpage/repo/main/pool directory. The prep_repo.sh script will generate the rest of the files required for the repository to work.

bash prep_repo.sh <base_name>
bash prep_repo.sh cwru-ecse-376

The <base_name>-webpage directory will be a separate git repository. If shared on the github, the git repository can be configured to be the webpage for the github organization contaning the repository. (The name of a repository is required to be the organization name with .github.io post-pended to it.)

Private Keys

The prep_repo.sh script generates the public and private keys necessary to create the Debian package repositories. The public keys are placed in the -webpage directories. The private keys are not stored in the apt-repo repository. The private keys should be managed in a safe location.

The prep-repo.sh script can use the <base_name>-key.private files (it generates) to install the keys into a local GPG/PGP key store so they are only required when creating the new repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages