<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
Thank you Rohan, Fabrice, and Jackson for the helpful advice.
After reading, I am confident that I can make good use of the
watch file. But before I conclude, I want to clarify something.<br>
<br>
So this is what mine would look like (taken directly from the
Ubuntu PG watch page) [1]<br>
<blockquote>
<pre class="screen"># watch control file for uscan
version=3
<a class="moz-txt-link-freetext" href="https://launchpad.net/pylang/+download">https://launchpad.net/pylang/+download</a> <a class="moz-txt-link-freetext" href="http://launchpad.net/pylang/.*/pylang-(.+).tar.gz">http://launchpad.net/pylang/.*/pylang-(.+).tar.gz</a>
</pre>
</blockquote>
Notice I get the package from launchpad. Is it correct? Will this
work on future versions, regardless of what number the three
digits may hold? (pylang-#.#.#)<br>
<br>
What if I did something like this:<br>
<blockquote>
<pre class="screen"># watch control file for uscan
version=3
<a class="moz-txt-link-freetext" href="https://launchpad.net/pylang/+download">https://launchpad.net/pylang/+download</a> <a class="moz-txt-link-freetext" href="http://launchpad.net/pylang/.*/pylang-(.+).tar.gz">http://launchpad.net/pylang/.*/pylang-(.+).tar.gz</a> debian uupdate</pre>
</blockquote>
Say the package will be available on both Debian and Ubuntu, but
first through Ubuntu. Do I need to include "debian uupdate" [2]?
Why or why not? I'm assuming that they apply to Debian and not
necessarily to Ubuntu. <br>
<br>
Thanks very much!<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="http://developer.ubuntu.com/packaging/html/debian-dir-overview.html#the-watch-file">http://developer.ubuntu.com/packaging/html/debian-dir-overview.html#the-watch-file</a><br>
[2] <a class="moz-txt-link-freetext" href="http://manpages.ubuntu.com/manpages/raring/man1/uupdate.1.html">http://manpages.ubuntu.com/manpages/raring/man1/uupdate.1.html</a><br>
<br>
2013년 08월 09일 23:47, Rohan Garg 쓴 글:<br>
</div>
<blockquote cite="mid:1413973.p8E0avrT6u@solembum" type="cite">
<blockquote type="cite">
<pre wrap="">After hanging out at the motu channel for a bit, I was recommended to write
a watch file. Now, what exactly does it do, and how can I use it? Fetch the
up-to-date dependencies? I guess that would mean a line per dependency.
<a class="moz-txt-link-freetext" href="https://wiki.debian.org/debian/watch/">https://wiki.debian.org/debian/watch/</a>
</pre>
</blockquote>
<pre wrap="">
A watch file specifies where to look for new upstream releases of a source,
uscan [1] is a tool that parses the watch file and downloads the latest
tarball if there is a newer release. A watch file does NOT fetch the
dependencies of a source itself (assuming that is what you meant in your
original mail). Watch files are also used by UEHS [2] to show packages that can
be updated in Ubuntu. The equivalent site for Debian would be DEHS [3]
Note that you also should read up on uupdate [4] and this [5]
Regards
Rohan Garg
[1] <a class="moz-txt-link-freetext" href="http://manpages.ubuntu.com/manpages/raring/man1/uscan.1.html">http://manpages.ubuntu.com/manpages/raring/man1/uscan.1.html</a>
[2] <a class="moz-txt-link-freetext" href="http://qa.ubuntuwire.org/uehs/no_updated.html">http://qa.ubuntuwire.org/uehs/no_updated.html</a>
[3] <a class="moz-txt-link-freetext" href="http://dehs.alioth.debian.org/">http://dehs.alioth.debian.org/</a>
[4] <a class="moz-txt-link-freetext" href="http://manpages.ubuntu.com/manpages/raring/man1/uupdate.1.html">http://manpages.ubuntu.com/manpages/raring/man1/uupdate.1.html</a>
[5] <a class="moz-txt-link-freetext" href="http://developer.ubuntu.com/packaging/html/debian-dir-overview.html#the-watch-file">http://developer.ubuntu.com/packaging/html/debian-dir-overview.html#the-watch-file</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<pre class="moz-signature" cols="72">--
John Kim
Ubuntu QA & Doc Contributor
<a class="moz-txt-link-abbreviated" href="mailto:johnkim.ubuntu@gmail.com">johnkim.ubuntu@gmail.com</a></pre>
</body>
</html>