linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Oliver Schinagl <oliver+list@schinagl.nl>
Cc: Manu Abraham <abraham.manu@gmail.com>,
	Jiri Slaby <jirislaby@gmail.com>,
	Michael Krufky <mkrufky@linuxtv.org>,
	Johannes Stezenbach <js@linuxtv.org>,
	linux-media <linux-media@vger.kernel.org>,
	jmccrohan@gmail.com,
	Christoph Pfister <christophpfister@gmail.com>
Subject: Re: [RFC] Initial scan files troubles and brainstorming
Date: Fri, 11 Jan 2013 10:39:37 -0200	[thread overview]
Message-ID: <20130111103937.2cd0d5c8@redhat.com> (raw)
In-Reply-To: <50EF4766.2070100@schinagl.nl>

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

> On 01/10/13 23:11, Mauro Carvalho Chehab wrote:
> > Em Thu, 10 Jan 2013 21:51:29 +0100
> > Oliver Schinagl <oliver+list@schinagl.nl> escreveu:
> >
> >> Anyway, fighting about it won't help anyone
> >
> > Agreed. From my side, don't expect further comments. That's hopefully
> > my last email on this thread.
> >
> > Oliver,
> >
> > You owns your time. So, it is really your call.
> Well I did write the initial plea for the seperation. :)
> 
> >
> >  From my side, I appreciate your efforts on keep maintaining it.
> I will do my very best for as long as time permits. I find it personally 
> important that my scanfiles are updated as quickly as possibly and so 
> will also update others as quickly as I can.
> 
> >
> > I don't really care if this is done as a separate tree and/or together
> > with dvb-apps, although, except for the scan files, the dvb-apps seem
> > pretty much orphaned for a long time. So, among other reasons, IMHO
> > it is better to keep it forked.
> I still think it does make sense for reasons I posted 3 months ago.
> >
> > In any case, reimporting the files from an external tree is easy. It is
> > equally easy to add a script at dvb-apps and on other applications that
> > would take a tarball of it and copy the files there. We do that approach
> > on v4l-utils, in order to sync it with kernel headers and kernel IR scancode
> > tables, as we do need new headers there during development, and users do
> > need the very latest IR scancode tables.
> If dvb-apps depends on the scanfiles that horribly specifically, then a 
> script to copy over the latest release would be best.
> 
> >
> > If you decide to keep it in separate, I recommend you to add there some
> > version schema to make easier for distributions that may want to add
> > a package there, for them to track when this gets updated.
> 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.

> >
> > Also, just like what we do with media-build's "todaytar" target, it may
> > also make some sense to have an script running at linuxtv.org that would
> > create daily tarballs when a new commit is merged there, or when a new tag
> > is added. That would help to have scripts at applications to sync with
> > the latest files.
> Well you want to release every commit really, as above stated a commit 
> indicates a change in a transponder. Users of that transponder want to 
> be able to use it asap.
> 
> >
> > If you decide to either drop the tree or to add such tarball script
> > at the server, please ping me.
> Ping :p
> >

Please add a Makefile there and ping me, and I'll adapt the existing script
to also run on this project.

-- 

Cheers,
Mauro

  reply	other threads:[~2013-01-11 13:26 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-18 11:26 [RFC] Initial scan files troubles and brainstorming Oliver Schinagl
2012-12-18 22:01 ` Oliver Schinagl
     [not found]   ` <50D0FAE3.5000103@gmail.com>
2012-12-19  8:54     ` Oliver Schinagl
2013-01-07 10:46   ` Jiri Slaby
2013-01-07 12:48     ` Oliver Schinagl
2013-01-08 20:01       ` Johannes Stezenbach
2013-01-09  9:43         ` Oliver Schinagl
2013-01-09 10:41           ` Mauro Carvalho Chehab
2013-01-09 11:08             ` Michael Krufky
2013-01-09 14:41               ` Mauro Carvalho Chehab
2013-01-09 14:48                 ` kaffeine.kde.org/scanfile.dvb.qz is obsolete [was: [RFC] Initial scan files troubles and brainstorming] Jiri Slaby
2013-01-10 16:33                   ` Christoph Pfister
2013-01-10 17:40                 ` [RFC] Initial scan files troubles and brainstorming Manu Abraham
2013-01-10 18:37                   ` Jiri Slaby
2013-01-10 18:46                     ` Manu Abraham
2013-01-10 18:56                       ` Michael Krufky
2013-01-10 19:03                         ` Jiri Slaby
2013-01-10 19:04                         ` Manu Abraham
2013-01-10 20:15                           ` Oliver Schinagl
2013-01-10 20:25                             ` Manu Abraham
2013-01-10 20:32                               ` Jiri Slaby
2013-01-10 20:38                                 ` Manu Abraham
2013-01-10 20:41                                   ` Jiri Slaby
2013-01-10 20:42                                     ` Jiri Slaby
2013-01-10 23:19                                       ` Oliver Schinagl
2013-01-10 20:49                                     ` Manu Abraham
2013-01-10 21:22                                       ` Jiri Slaby
2013-01-10 21:28                                         ` Manu Abraham
2013-01-10 20:55                                     ` Oliver Schinagl
2013-01-11  1:12                                       ` Jonathan McCrohan
2013-01-11  8:10                                         ` Legallity of dtv-scan-tables Was: " Oliver Schinagl
2013-01-11 12:23                                         ` Mauro Carvalho Chehab
2013-01-11 14:10                                           ` Benny Amorsen
2013-01-11 14:53                                             ` Mauro Carvalho Chehab
2013-01-24 14:16                                           ` Oliver Schinagl
2013-01-10 20:37                               ` Mauro Carvalho Chehab
2013-01-10 20:43                                 ` Manu Abraham
2013-01-10 20:36                             ` Manu Abraham
2013-01-10 19:02                       ` Jiri Slaby
2013-01-10 19:08                         ` Manu Abraham
2013-01-10 19:11                           ` Jiri Slaby
2013-01-10 19:16                             ` Manu Abraham
2013-01-10 20:04                           ` Mauro Carvalho Chehab
2013-01-10 20:19                             ` Manu Abraham
2013-01-10 20:32                             ` Manu Abraham
2013-01-10 20:51                               ` Oliver Schinagl
2013-01-10 21:04                                 ` Manu Abraham
2013-01-10 22:11                                 ` Mauro Carvalho Chehab
2013-01-10 22:57                                   ` Oliver Schinagl
2013-01-11 12:39                                     ` Mauro Carvalho Chehab [this message]
2013-01-11 13:37                                       ` Jiri Slaby
2013-06-03 17:21                                       ` daily tarballs of dtv-scan-tables - was " Mauro Carvalho Chehab
2013-06-03 20:48                                         ` Oliver Schinagl
     [not found]             ` <20130109084425.7ac6dc50@redhat.com>
     [not found]               ` <50ED4CEB.3050303@schinagl.nl>
     [not found]                 ` <20130109100438.748924c8@redhat.com>
     [not found]                   ` <50ED616D.1070108@schinagl.nl>
     [not found]                     ` <20130109123758.7d91ab5a@redhat.com>
2013-01-09 14:44                       ` Oliver Schinagl
2013-01-09 15:01                         ` Mauro Carvalho Chehab
2013-01-09 15:05                           ` Oliver Schinagl
2013-01-09 11:07           ` Johannes Stezenbach
2013-01-07 12:53     ` Christoph Pfister
2013-01-07 16:24       ` Manu Abraham
2013-01-07 22:44       ` Jonathan McCrohan
2013-01-08  8:06         ` Oliver Schinagl
2013-01-08 19:40       ` Johannes Stezenbach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130111103937.2cd0d5c8@redhat.com \
    --to=mchehab@redhat.com \
    --cc=abraham.manu@gmail.com \
    --cc=christophpfister@gmail.com \
    --cc=jirislaby@gmail.com \
    --cc=jmccrohan@gmail.com \
    --cc=js@linuxtv.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mkrufky@linuxtv.org \
    --cc=oliver+list@schinagl.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).