Giter Club home page Giter Club logo

reprepro's Introduction

reprepro with multiple versions support

This git repository hosts a branch for reprepro which adds multiple versions support to it. See Debian bug #570623 for details and updates.

The upstream repository can be found on https://salsa.debian.org/brlink/reprepro

Release Notes

The multiple-versions patch set adds following features:

  • Add shunit2 based tests (Closes: #857302)
  • Support multiple versions. (Closes: #570623)
  • Add the commands move, movesrc, movematched, movefilter
  • Add Limit and Archive option

How to keep multiple versions

The default behavior of this reprepro is identical to upstream's version. To keep multiple versions of the same package in the archive, you have to set the Limit option to the desired maximum amount (or to 0 for unlimited). See the description in the man page for details.

Database layout changes

The database layout changes from the upstream release to the multiple versions patch set. The difference is as following:

upstream

  • packages.db maps "package name" to "control file" without duplicates
  • no packagenames.db

multiple versions

  • packages.db maps "package name|version" to "control file" without duplicates
  • packagenames.db maps "package name" to "package name|version" allowing duplicates and duplicates sorted by dpkg --compare-versions descending

The first time the database is opened by reprepro with multiple versions support, the database will be upgraded from the upstream layout to the multiple versions layout. Warning: There is no way back (but could be done with a simple Python script)!

Howto rebase

  1. Rebase the multiple-versions branch on top of the updated upstream master branch and push it to https://salsa.debian.org/bdrung/reprepro/

  2. Refresh the multiple-versions-debian branch by taking the upstream debian branch. Apply patch debian: Switch to dh and Run shunit2 tests on build time. Cherry-pick all commits from multiple-versions. Then apply patch Add trace debugging output, debian: Update changelog and Add README.md describing this git branch.

reprepro's People

Contributors

baby-gnu avatar bdrung avatar esc avatar

Watchers

 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.