Re: daily tarballs of dtv-scan-tables - was Re: [RFC] Initial scan files troubles and brainstorming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/03/13 19:21, Mauro Carvalho Chehab wrote:
Hi Oliver,

Em Fri, 11 Jan 2013 10:39:37 -0200
Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> escreveu:

Em Thu, 10 Jan 2013 23:57:42 +0100
Oliver Schinagl <oliver+list@xxxxxxxxxxx> escreveu:

...
Personally, I'd say date based would be best. After each commit a new
tarball should be created. Since it's not 'code' that changes, but
factual data, any change warrants a release. So
dtv-scan-files-2013011.tar.bz2/xz and is common?

if for any reason a second release is needed on the same date ... too
bad :p it's extremly unlikly anyway and can be done the next day's date.
Or add an index after the date.

To re-use the existing script, you'll need to create a Makefile target
to generate such tar. The script runs once during the night, comparing the
previous commit hash with the current one. If different, it creates a new
tarball.

The Makefile there could be as simple as:

tgz:
	git archive --format tgz HEAD >dtv-scan-files-`date +"%Y%m%d.%H:%M"`.tar.gz

The above is for tar.gz - I don't object if you want to use a different
compression provided that there are just one format. You may need to play
a little bit with git config files, to add support for xz and bz2.

I found some time today to implement a script to generate the tarball
files for dtv-scan-tables at the LinuxTV server.

The script runs daily, checking if there was any new changeset at the
repository. If it finds a new changeset there, it will take the date
and the changeset of the latest commit at the tree and them as part of
the tarball name, adding them to the following directory:

	http://linuxtv.org/downloads/dtv-scan-tables/

The script will also create an hyperlink of the latest tarball at:
	dtv-scan-tables-LATEST.tar.bz2
Is there any easy way for me to see the script? Just so I can learn from it.

Every time a new file is added there, it will also update the md5sum file,
that could be used by someone to check the downloads.
That is very cool and very much thank you.

I'll immediately publicly admit I have been slacking here. I should have picked up on that and done it. I've been dragged away and been busy with http://linux-sunxi.org.

Anyway Thank you for picking that up. The dtv tree should be up to date however, all messages I saw passing the mailing lists have been pushed.

I will (slowly) inform others that are interested (package maintainers) and see how it goes.

Thanks again Mauro!

Regards,
Mauro

Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux