Hi Bart,

> That should be suitable for a watch file. Right?

Yes, while that is true, the page is updated frequently with older
versions replaced with the new version.
In Debian, usually, we can't package the latest version as quickly as
possible due to bootstrapping requirements.
Hence, a fakeupstream service is needed to retrieve a non-latest
version from the upstream.

Also, another use-case might be, you want a specific nightly or beta
to test a certain regression. Since that page
does not list the previous releases, it would be difficult to rely on
it to retrieve a previous beta using uscan by
specifying `--download-version`.

Thanks,
Zixing

On Tue, Dec 12, 2023 at 2:58 PM Bart Martens <ba...@debian.org> wrote:
>
> Hi Zixing, the source code and signature are also advertised here:
> https://forge.rust-lang.org/infra/other-installation-methods.html#source-code
> That should be suitable for a watch file. Right?
>
>
> On Tue, Dec 05, 2023 at 02:44:06PM -0700, Zixing Liu wrote:
> > Hi Bart,
> >
> > > The link https://static.rust-lang.org/dist displays an error in xml 
> > > format.
> >
> > This is because this website is hosted on AWS S3 and is machine-readable 
> > only.
> > To list the files, you need to either use an S3-compatible tool or visit
> > https://static.rust-lang.org/?prefix=dist/ to see the file listing in
> > XML format.
> >
> > > Can I view an example of a package in Debian that can be watched with 
> > > such extension of fakeupstream?
> >
> > This fakeupstream service is intended for 
> > https://tracker.debian.org/pkg/rustc.
> > Because it needs to download the signed source tarball from
> > https://static.rust-lang.org.
> >
> > Thanks,
> > Zixing
> >
> > On Tue, Dec 5, 2023 at 1:46 PM Bart Martens <ba...@debian.org> wrote:
> > >
> > > Hello Zixing Liu,
> > >
> > > Can I view an example of a package in Debian that can be watched with such
> > > extension of fakeupstream? The link https://static.rust-lang.org/dist 
> > > displays
> > > an error in xml format. A real example would help me understand the 
> > > context.
> > >
> > > Ciao,
> > >
> > > Bart
> > >
> > >
> > > On Mon, Dec 04, 2023 at 03:32:39PM -0700, Zixing Liu wrote:
> > > > Package: qa.debian.org
> > > > Severity: wishlist
> > > > Tags: patch
> > > > X-Debbugs-Cc: zixing....@canonical.com
> > > >
> > > > Hi Debian QA Team,
> > > >
> > > > I would like to see a fakeupstream service implemented for
> > > > https://static.rust-lang.org/dist so that
> > >
>
> --

Reply via email to