#861379 debsources: /patches/api/list/ contains packages with no patches (such as 0xffff)

#861379#5
Date:
2017-04-28 07:30:58 UTC
From:
To:
The debsources patches list API mentions the package 0xffff but this
package doesn't contain any patches according to the debsources website
and apt-file and downloading the source package.

https://sources.debian.net/patches/api/list/
https://sources.debian.net/patches/0xffff/
https://sources.debian.net/patches/0xffff/0.7-2/

$ apt-file show -I dsc 0xffff | grep patch
0xffff: /.pc/.quilt_patches
0xffff: /.pc/applied-patches
$ apt source -qq 0xffff
...
$ find 0xffff* -iname '*patch*'
0xffff-0.7/.pc/applied-patches
0xffff-0.7/.pc/.quilt_patches

#861379#10
Date:
2017-04-28 07:43:02 UTC
From:
To:
Hi,

Thanks for the report.
I'm not sure this is a bug. The /api/list endpoint was meant to list
all packages, containing 0 or more patches.

Orestis, any memory of this rationale?

Cheers,
--
Matthieu

#861379#15
Date:
2017-04-28 15:38:56 UTC
From:
To:
That doesn't seem to be useful for any use-case I can think of.

That would be interesting to hear.

#861379#20
Date:
2017-04-28 17:02:53 UTC
From:
To:
Hey,

Agreed!

Well the think is that right now everything happens on the fly (for the
patches). there is/was an effort to implement a plugin (as the ones we
have for counting lines of code, ctags etc) to store patches information
in the database.
Doing so would enable us to actually know which packages do have
patches, or better which versions of each package have patches. till
then it is not feasible to have this kind of information.
Unfortunately this effort is currently stalled due to the fact that i
got a job and my contributions to debsources have dropped considerably.

By june things are looking much better on my end so i hope to resume the
work on this plugins (+ other things i ve been working on)

If anyone is willing to do this in the meantime, then i could push
somewhere the work i've already done (modification for the DB schema,
and i think a prototype of the plugin). in the list archive there should
be a discussion about this as well.

cheers,

Orestis

#861379#25
Date:
2017-04-29 01:30:41 UTC
From:
To:
I need an API that can help make these links more like the 4th link by
exporting the amount of patches for each supported package version:

https://packages.qa.debian.org/~pabs/g/glibc.html (want patch counts, versions/suites in title attributes)
https://packages.qa.debian.org/~pabs/n/nsis.html (3.0 has no patches, needs hiding)
https://packages.qa.debian.org/~pabs/0/0xffff.html (no version has patches, all need hiding, want single version anyway)
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=779400;filename=distro-tracker-patches-mockup.png;msg=5

For me the ideal data set would be a list of packages with 1 or more
patches, each with the associated suite names, version numbers and
patch counts, or files patched counts for packages that use diff.gz.
I'd prefer if it didn't include patch info for obsolete suites.

#861379#30
Date:
2021-09-22 04:22:10 UTC
From:
To:
Hello,

Good morning,

We have gone through your samples from a partner and Here is our  Order
List. Please do bear in mind that we are very much in  need of this
order, quote your competitive prices.

Kindly send the Order confirmation.

Your early reply will be much appreciated.

Best Regards,

Maryanah Erwin.

PT FINDORA INTERNUSA

Jln Pahlawan 66 Kec. Arjawinangun

45162 CIREBON West-Java INDONESIA

tel : +62 231 357334

fax: +62 231 357260

email: marketing@findora.com