Giter VIP home page Giter VIP logo

aptly-scripts's Introduction

aptly-scripts

Script to manage aptly repositories.

Basic workflow is:

  • initialize a mirror of your repositories (only done once): init-mirror
  • update your mirrors (done regularly): update-release-mirror
  • create a snapshot of your mirrors: create-release-snapshot
  • merge your snapshots into one snapshot: merge-release-snapshot
  • publish your merged snapshot: snapshot-publish

init-mirror

Initialize a mirror. We sync from http://ftp.de.debian.org/debian the amd64,i386 architectures and "main non-free contrib" components. We also sync the security mirror for that release.

init-mirror squeeze|wheezy|jessie

update-release-mirror

Sync from upstream, you can just give the release name (e.g. wheezy) or a specfic mirror.

update-release-mirror <release-name|mirror-name>

create-release-snapshot

Create "release snapshots". We create for every snapshot of a specific release (e.g. wheezy) a dated snapshot. You can also override the date.

create-release-snapshot <release-name|mirror-name> [date]

merge-release-snapshot

Merge the snapshots into one snapshot that can be published. We give the snapshot a basename and must give the date.

merge-release-snapshot <release-name|mirror-name> <date> <basename> 

snapshot-publish

Publish a merged snapshot. Use the basename and date you gave in the previous command.

snapshot-publish  <release-name|mirror-name> <date> <basename> <latest|prd>

cleanup-snapshots

Delete old snapshots and cleanup the db

cleanup-snapshots <release-name|mirror-name> <date>

aptly-scripts's People

Contributors

rgevaert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

aptlytools fr34k8

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.