Skip to content
This repository was archived by the owner on Jan 5, 2025. It is now read-only.
This repository was archived by the owner on Jan 5, 2025. It is now read-only.

Proposal: generic debian/watch #16

@kapouer

Description

@kapouer

Here's the one from npm package i use :

./debian/watch :

version=3
opts=downloadurlmangle=s/.*v(.*)/http\:\/\/registry\.npmjs\.org\/npm\/-\/xxxxxx\-$1\.tgz/,\
filenamemangle=s/.*v(.*)$/xxxxxx-$1\.tar\.gz/ \
https://github.com/toto/xxxxxx/tags .*/tarball/v([\d.-]+)

You can see it checks new version on github (because i do not know how to find new version on npm website),
and the github link could be found in the "repository.url" of package.json.
The download link is simply the one from npm website, to ensure the published npm package is used, not the github
version (they can differ sometimes).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions