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

Re: Bug#1089197: Bug#961138: autodep8 uses host APT packages to generate dependencies for pkg-r-autopkgtest tests



Hi Andreas,

as discussed in Brest, I have written a patch to dh-make/update-R to hard code the dependencies:

https://salsa.debian.org/r-pkg-team/dh-r/-/merge_requests/9

Note that I don't have any experience with the tooling and only did some minimal testing so would appreciate feedback.

Cheers Jochen

* Jochen Sprickerhof <jspricke@debian.org> [2025-03-02 08:36]:
Hi Andreas,

* Andreas Tille <tille@debian.org> [2025-03-01 22:39]:
if you can provide a patch / MR I'm fine to apply it but currently
I have no more free spoons to work on this.

The real question here is how to solve #1089197, i.e. how to encode the package relationships without depending on the apt cache (grep-aptavail or rmadison or anything else that is network related). I have no experience with R packages so I would need some input here. Possible ways I see are:

1. Don't add relations automatically and let the maintainer do it.

2. Always add all package names from the DISCRIPTION file to Suggest:
From my understanding this would need some mapping from the R package name to the Debian package name and maybe a rename of the Debian packages to simplify the mapping.

3. Add the list of R package in Debian to dh-r and use it to convert the package name. Note that this needs to be updated whenever a R packages is added or removed in Debian. (This is what dh-python has, afair).

Cheers Jochen


Attachment: signature.asc
Description: PGP signature


Reply to: