You are not logged in.
I'd like to have a modification of versionpkg that names packages with date format. For instance, if one builds FFMPEG from subversion, instead of it being named ffmpeg-svn, it would be called ffmpeg-20070415. That way the package will pass validation tests, i.e. VLC requires 'ffmpeg>=20070131'.
Offline
I'm perfectly happy with the packages beining called -svn, -cvs, -git, etc. There was a discussion a while ago about having all the -svn, -cvs and a like packages named to something like -dev, -devel or something else, but that proposal didn't make it I believe.
I like things being called as they are, so a package from subversion should be named likewise -svn. That really is not a problem in validation tests, as long as you provide the needed provides and conflicts in the PKGBUILD.
Also from a date you can't see if things have changed in subversion, so a package build two weeks ago can still be the latest
Offline
That way the package will pass validation tests, i.e. VLC requires 'ffmpeg>=20070131'.
You may be confusing things here. The minimum version requirement given in your VLC example validates against the pkgver of the package it depends on, so in this case VLC needs ffmpeg, minimum version 20070131. You're suggesting that the date becomes part of pkgname, where it could not be validated.
Offline
The minimum version requirement given in your VLC example validates against the pkgver of the package it depends on, so in this case VLC needs ffmpeg, minimum version 20070131. You're suggesting that the date becomes part of pkgname, where it could not be validated.
I worded the request wrong. My apologies. I need the package version to be named after the date, not the package itself.
Offline
correct me if i'm wrong,
but i don't realyl see what the problem is here. ..
http://www.archlinux.org/packages/537/
...p -Ss ffmpeg
extra/ffmpeg 20070131-1
...
Offline
Programs like FFMPEG (that was just one example of programs I use) are improving nearly daily, and do not have "release" builds. There are many projects that are starting to go this way. The FFMPEG version listed above (which has now fixed A/V sync issues) is a subversion snapshot by a developer. I'm simply trying to take a couple of steps out of building programs that I update at least weekly. If no one sees this as being a good idea, just let the thread die, and I'll figure it out.
Offline
umm, well have you considerd puttign it in yourself?
maybe this will help ...
`date +%G%m%d`
~[pkgver=`^`]~
`man date`
Offline
Thanks sl. The solution that I ended up with is to write a script that pulls the subversion sources into a directory, change a custom pkgbuild to update to the current date (`date +%Y%m&d`), and run makepkg. I haven't implemented it yet, but it seems fairly straight forward.
Last edited by skottish (2007-04-17 16:53:39)
Offline