dnbert / prm

PRM Allows you to quickly build package repositories, inspired by Jordan Sissels' FPM
MIT License
250 stars 33 forks source link

Debian: Watch a temporary directory, if new files are added, add them to their repository. #1

Closed dnbert closed 11 years ago

dnbert commented 11 years ago

Request: End user wants to have a local directory that they add packages to, and at a later time wants to run PRM.

PRM should be able to move those files from that directory to their respectful location somehow.

joshskinner-wf commented 11 years ago

Or maybe even daemon-ized?

kiranos commented 11 years ago

Today I use apt-ftparchive and the layout is:

|-- packages
|-- pool
|   `-- main
`-- squeeze
    `-- main
        |-- binary-amd64
        |-- binary-i386
        `-- source

and in pool/main/ is all my packages (both i386 and amd64) and apt-ftparchive handles the mainenance of these packages through a cronjob.

dnbert commented 11 years ago

https://github.com/dnbert/prm/commit/80dfd1e2513a983b5461a03e3ee5e0be29f8a97c should solve this issue! Please let me know if anyone has any questions.