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

Re: Lintian check for d/upstream files (Was: another source of URLs for DUCK: debian/upstream)



Hi Simon,

On Tue, Dec 03, 2013 at 12:44:40PM +0100, Simon Kainz wrote:
> ok, i changed that (commit e50821497b485d62285b59384e201dd9c97aa663):

Great!
 
> /tmp$ lintian --include-dir=/home/skainz/lintian-upstream-metadata/
> - --profile=debian/metadata gfan_0.5+dfsg-4_amd64.changes
> W: gfan source: debian-upstream-file-is-invalid
> 
> Now it works like this:
> 
> No YAML -> 			pedantic error only
> Invalid YAML ->			"normal" warning
> YAML with invalid field ->	"normal" warning
> 
> 
> Invalid fields are all which are _not_ listed on
> http://wiki.debian.org/UpstreamMetadata, honoring upper/lowercase issues.

Works for me nicely.  For unexperienced users it might provide
additional help if you could specify the / one of the invalid fields or
the line number containing the invalid field but it is really helpful in
its current state.

I would be really happy if you would propagate this to official lintian
by filing a bug report.
 
> BTW, what happend to http://dep.debian.net/deps/dep12 ? It is
> mentioned on http://wiki.debian.org/UpstreamMetadata but the link
> seems dead.

I have no idea at all.

Kind regards

      Andreas.

-- 
http://fam-tille.de


Reply to: