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

Re: A new field in the task files for checking out prospective packages with `mr'?



On Sun, 11 Jan 2009, Andreas Tille wrote:

So if there is no tool that interprets the field in the tasks file the
wrong way (and I don't think there is any chance) you can use it freely.
Feel free to add those VCS fields - and write a tool that calls mr
apropriately.

The Vcs-Svn feature is now implemented in the tasks files.  Just check out
the Debian Med tasks files from blends SVN (mind the move of the repository!)
and have a look.  The tasks pages rendered for Debian Med now feature two
different "yellow" sections

   1. Debian packaging stuff in Vcs
   2. Unofficial Debian packages

instead of only one mixing both of them.  This is based on the existence
of the Vcs-Svn field.  (Handling packages from experimental will follow
as time permits.)

Questions:

   - Any further suggestions for Vcs-* fields?
   - Is it reasonable to calculate Vcs-Browser via
           dep.VcsBrowser = re.sub('^svn:', 'http:', dep.VcsSvn)
           dep.VcsBrowser = re.sub('/svn/', '/wsvn/', dep.VcsBrowser)
           dep.VcsBrowser = re.sub('$', '?rev=0&sc=0', dep.VcsBrowser)
     Looking at bio-dev svn diff [2] we have exactly one occurance whichs
     does not fit this scheme but overriding Vcs-Browser with an explicite
     value should work. It's described in the Blends docs.[2]
   - Do you think linking to SVN for *existing* packages makes
     sense or is even important at any rate?  The background of this
     question is that it is not cheap to get this easily because the
     tasks pages are builded by parsing the Binary packages but Vcs
     fields are only contained in Sources.gz.  Feel free to send me
     a patch if you want to see this implemented or give strong reasons
     why this might be needed.  IMHO it is not really needed on the
     rather user oriented tasks pages but might be interesting on
     the bugs pages - and here it is much cheaper to obtain the needed
     information.
   - Any suggestions / patches for some nice table of content like
     links?  People with skills in web design might try to enhance
     XHTML templates?

Kind regards from Debian Edu gathering in Trondheim

     Andreas.

[1] http://svn.debian.org/wsvn/blends/projects/med/trunk/debian-med/tasks/bio-dev?op=diff&rev=0&sc=0
[2] http://blends.alioth.debian.org/blends/ch-sentinel.en.html


--
http://fam-tille.de


Reply to: