[MDEV-9379] Remove debian/ directory from release tarballs Created: 2016-01-07 Updated: 2016-11-25 Resolved: 2016-11-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.1.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Quanah Gibson-Mount (Inactive) | Assignee: | Otto Kekäläinen |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
It is a violation of debian policy to ship upstream source with a debian/ directory. See https://wiki.debian.org/UpstreamGuide#Initial_Packaging as well. For those who want to build their own debian packages using the template from MariaDB, they can grab the debian directory via a direct source checkout of the git repository. Release tarballs should be pristine and contain neither a debian/ nor rpm/ directory tree. |
| Comments |
| Comment by Elena Stepanova [ 2016-01-11 ] | |||||||
|
otto, Debian policies is your land. You don't need to fix it yourself, but could you please define what exactly, if anything, should be done here? | |||||||
| Comment by Otto Kekäläinen [ 2016-01-11 ] | |||||||
|
Hello quanah and thanks for looking into MariaDB! The Debian policy is intended for people doing Debian packaging (e.g. me) and when it talks about pristine source, it means that when preparing the package for official inclusion at debian.org repositories should have a completely custom made debian/ contents and take anything directly from upstream. For example the debian/changelog file in Debian should include only information about the package's history in debian.org repos. This policy should not be read in a way that upstream projects like mariadb.org would not be recommended to have a debian/ directory. So in that sense this bug report is invalid. It is completely fine to have debian/ directory in upstream mariadb repos. What is your use case? What are you trying to do, your own custom Debian packages or what? If you tell us what your goal was, maybe I can advise what you should to do achieve it. | |||||||
| Comment by Quanah Gibson-Mount (Inactive) [ 2016-01-12 ] | |||||||
|
When I have a question on policy, I check with a former colleague of mine, Russ Allbery. If you're not familiar with him, he works on Debian policy (see https://www.debian.org/intro/organization). He confirms what I noted. It is recommended that upstream release tarballs do not contain a debian/ directory. Do I do my own custom debian packages? Yes, I do. I'm attempting to achieve a state where MariaDB follows debian policy, so when I extract the tar archive your debian dir doesn't overwrite mine. Or, as per Russ:
|