You are not logged in.

#1 2007-05-14 19:52:39

Weeks
Member
Registered: 2006-01-26
Posts: 91

Package update comments.

I'm always happy to know I'm fully up-to-date when I run pacman -Syu, but I'd often like to know what's changed. For instance, just now I updated to the latest versions of pidgin and pacman and I wanted to know what had changed. So I went to the CVS page for pacman and, to be frank, I'm none the wiser.

The pidgin update may be a bad example, because it did tell me the 'bonjour' plugin had been included. But that kind of information rarely appears. Has anyone got any ideas that would help integrate this kind of information when new features and major changes happen?

Offline

#2 2007-05-14 20:23:55

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Package update comments.

I'd also like to have easy access to changelogs for updated packages, I haven't found them yet...

Offline

#3 2007-05-14 20:31:01

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Package update comments.

Ok two things here:
a) If pidgin is updated, you'll find the full changelog at the pidgin site.  You can't really expect us to maintain dual changelogs for code that's not ours, can you?
b) pacman 3 has changelog support - we just need to wait a bit to get everything on to pacman 3 before we can begin using full pacman 3 packages.

Offline

#4 2007-05-15 11:31:08

Weeks
Member
Registered: 2006-01-26
Posts: 91

Re: Package update comments.

'A' is a fair point in retrospect. So is pacman's changelog support just for pacman, or for all applications?

Offline

#5 2007-05-15 11:43:34

xerverius
Member
From: ~
Registered: 2004-11-02
Posts: 230
Website

Re: Package update comments.

Maybe more logs like: "Pidgin is updated to 2.0.1", "Fixed FS bug #0000 in the init scripts" and "Update to latest alsa and fixed e1000 module", something like that. More 1 liners that give a description why the package is updated.

Offline

#6 2007-05-15 12:00:57

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Package update comments.

b) pacman 3 has changelog support - we just need to wait a bit to get everything on to pacman 3 before we can begin using full pacman 3 packages.

Nice to know but how can i use it to integrate a changelog in my own local packages?

Offline

#7 2007-05-15 15:13:34

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Package update comments.

attila wrote:

b) pacman 3 has changelog support - we just need to wait a bit to get everything on to pacman 3 before we can begin using full pacman 3 packages.

Nice to know but how can i use it to integrate a changelog in my own local packages?

pacman will detect a "ChangeLog" file next to the PKGBUILD, and stick it into the package when building.

Offline

#8 2007-05-15 17:47:46

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Package update comments.

pacman will detect a "ChangeLog" file next to the PKGBUILD, and stick it into the package when building.

Nice feature. Thanks for the information.

Offline

#9 2007-05-15 18:46:57

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Package update comments.

Sorry, i wrote too early all is good. I have problems to see the changelog from an own package.
I use an exact copy of the PKBUILD for kplayer from community and run "makepkg -c". The last lines of makepkg looks good.

...
==> Copying package changelog
==> Compressing package...
==> Cleaning up...
==> Finished making: kplayer

But it don' get found if i use "pacman -Qc kplayer " or "pacman --changelog kplayer" because i even get a "Fehler: Kein Änderungsprotokoll für 'kplayer' verfügbar" which is the german version for "no changelog". Could it be that the ChangeLog files has to have a specific look as used at example for rpm packages? Here is the content of my ChangeLog:

0.6.2-1 13.05.2007
- User manual updated with all the new 0.6 features 
- Improvements in multimedia library and playlists 
- Many bug fixes and other improvements 
- Updated translations

Offline

#10 2007-05-15 21:21:00

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Package update comments.

Okay, i promise this is the last time that i comment myself.-)

"pacman -Qc" works but only as root. Strange because at example "pacman -Qi" works as normal user ... ah, i see it why: the changelog file in /var/lib/pacman/local is owned by root:root and the permissions be "-rw-r-----".

Is this a bug so i should write a report or is the error that i made the package with my user account which have umask 007? A "find /var/lib/pacman/local -type f -perm 640" shows me that the *.install files from my own packages has the same file permissions.

Offline

#11 2007-05-16 05:39:05

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Package update comments.

attila wrote:

Okay, i promise this is the last time that i comment myself.-)

"pacman -Qc" works but only as root. Strange because at example "pacman -Qi" works as normal user ... ah, i see it why: the changelog file in /var/lib/pacman/local is owned by root:root and the permissions be "-rw-r-----".

Is this a bug so i should write a report or is the error that i made the package with my user account which have umask 007? A "find /var/lib/pacman/local -type f -perm 640" shows me that the *.install files from my own packages has the same file permissions.

Oh good catch - I guess we didn't test this one all that much just yet because we can't use changelogs in packages yet

Can you add this to the bug tracker so we can get to it?

Offline

#12 2007-05-17 06:34:56

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Package update comments.

Can you add this to the bug tracker so we can get to it?

Done. Thanks for your help.

Offline

#13 2007-05-17 07:00:56

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Package update comments.

could you post a link to the bug?

Offline

#14 2007-05-17 07:58:12

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Package update comments.

could you post a link to the bug?

Sorry, I use the rss feed of it and so forgot it to post here:
http://bugs.archlinux.org/task/7182

Offline

#15 2007-05-17 08:38:49

Weeks
Member
Registered: 2006-01-26
Posts: 91

Re: Package update comments.

attila wrote:

pacman will detect a "ChangeLog" file next to the PKGBUILD, and stick it into the package when building.

Nice feature. Thanks for the information.

ditto.

Offline

Board footer

Powered by FluxBB