| Summary: | app-portage/cfg-update-1.8.0-r2 (Update) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | S. van Boven <xentric> |
| Component: | New packages | Assignee: | Harald van Dijk (RETIRED) <truedfx> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://people.zeelandnet.nl/xentric | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
cfg-update-1.8.0-r2.ebuild
cfg-update-1.8.0-r3.ebuild |
||
|
Description
S. van Boven
2006-01-11 13:54:20 UTC
Created attachment 76860 [details]
cfg-update-1.8.0-r2.ebuild
Two very minor questions: > 6. Removed kdiff3 from RDEPEND in ebuild. kdiff3 was already never installed automatically regardless of USE flags, so I'm curious why that wasn't good enough. I don't mind either way though. > ewarn "followed by running: alias emerge=emerge" Any objections if I change that to "unalias emerge", or is there a specific reason for re-aliasing it? I only took a quick look at cfg-update itself right now, but I don't see any problems with adding this new version, so I'll try to get that done today or maybe tomorrow, thanks. Harold,
> ewarn "followed by running: alias emerge=emerge"
> Any objections if I change that to "unalias emerge", or is there a
> specific reason for re-aliasing it?
I simply didn't know about unalias... no problem if you change that.
I found another problem:
When the package is installed for the very first time, it doesn't have an checksum-index yet. This causes all updates to be skipped, but it won't create a checksum-index either if any updates are found...
So I must add a forced creation of the index when no index is found when running "cfg-update --on". This will make cfg-update show all updates as "modified files" and force manual updating.
I'll fix this tonight... Do you want me to bump to 1.8.0-r3 or simply change 1.8.0-r2 ?
I will add a force_index
The ebuild should add the file /usr/lib/cfg-update/checksum.index
> I'll fix this tonight... Do you want me to bump to 1.8.0-r3 or simply change 1.8.0-r2 ? Please bump it, thanks. > So I must add a forced creation of the index when no index is found when > running "cfg-update --on". Shall I then remove "followed by cfg-update --index" from pkg_postinst for the new version, if this will be done automatically? Created attachment 76926 [details]
cfg-update-1.8.0-r3.ebuild
Updated version...
Added forced checksum-index creation when running cfg-update --on
And did some minor changes to text messages due to this change in the sript.
Changed the ebuild accordingly.
Added, thanks. |