FS#12359 - Still no changelogs in Arch packages.
Attached to Project:
Arch Linux
Opened by Wiktor Grebla. (greblus) - Saturday, 06 December 2008, 06:47 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 14 April 2009, 21:50 GMT
Opened by Wiktor Grebla. (greblus) - Saturday, 06 December 2008, 06:47 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 14 April 2009, 21:50 GMT
|
Details
699 of all 764 packages installed on my computer do not
provide a Changelog.
If arch=() or other package information are enforced during package building, why not do the same with the Changelogs? It's annoying like hell. For example today, new version of xorg-server is available, but I've no idea why. I'm subscribed to arch-devel, but I don't see any comments reg. this update. One can only guess what's changed from the svn at repos.archlinux.org but sometimes it says nothing. |
This task depends upon
Besides It's not about copying Changelogs from the upstream releases. It's about one simple line saying: I've fixed this and that and it's no longer broken.
a) Make changes, build package, test, commit
b) Upload built package to server
If we generate the changelog AFTER we do the commit, we need to rebuild the package. Which is just a headache.
Here's a VERY hacky potential solution: We patch devtools to do the following:
After commit, generate the ChangeLog file via "svn log PKGBUILD > ChangeLog"
We commit the ChangeLog with -m "devtools auto-generated ChangeLog"
We use bsdtar to replace or add the ChangeLog file in the package
Continue with upload as normal
This would work but it's VERY hackish. Any better ideas?
-1 from me.
IMO the only valid changes worth mentioning in embedded changelog are something like:
* v1.2.3-2: changed permissions for /dev/xyz to 600
added foobar group
some-fix.patch added
for example see package changelogs in Debian.
(yes, I know these changes can be seen in our SVN anyway, and info about important changes can be echoed in post_install)
* Maintainers commit changes to trunk
* Build machine picks up trunk changes, generates a changelog via 'svn log PKGBUILD > ChangeLog' and builds the package for each architecture.
* If successful, package is pushed to gerolde, containing the generated ChangeLog.
This will do a few things:
a) automate the build step, making Maintainers' jobs easier
b) give us actual ChangeLogs, assuming we enforce better commit messages (can be done afterwards)
c) give us namcap reports for packages and PKGBUILD files for all to see
I know this is going off on a little tangent, but it would definitely solve this issue (and this issue is what gave me the idea)
Opinions?
a) a simple way to generate a changelog that isn't too involved. Some of use have 300+ packages, so if changelogs are to be manual, then no one will do it.
b) should we require a packager to add a commit message? devtools adds a simple "upgpkg X.Y.Z" line if no message is specified
c) should we *force* packagers to include a changelog?
package easily using makepkg -Rf, no need to use bsdtar, etc.