Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for files provided by package #283

Open
jrohel opened this issue Apr 3, 2017 · 0 comments
Open

Add support for files provided by package #283

jrohel opened this issue Apr 3, 2017 · 0 comments

Comments

@jrohel
Copy link
Contributor

jrohel commented Apr 3, 2017

Very useful and missing feature. Question is how to add it to current implementation.
Example of one idea is add new table "files". Each file will get unique Id and attributes (Path, Perm, Size, ...). The package will get new Tag "File". This Tag will refer to file Id.

Given files
| Id | Tag | Value |
| f1 | Path | /bin/sh |
| | Perm | 0644 |
| f2 | Path | /bin/bash |

And repository "TestRepo" with packages
| Package | Tag | Value |
| TestA | Release | 2 |
| | File | f1 |
| | File | f2 |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant