Re: [R-sig-Fedora] Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies

2019-07-04 Thread Elliott Sales de Andrade
On Thu, 4 Jul 2019 at 06:05, José Abílio Matos  wrote:
>
> On Thursday, 4 July 2019 10.35.18 WEST Elliott Sales de Andrade wrote:
> > FYI, I plan on implementing this for F31 if no issues arise.
>
> Are there are any R packages, other than those built in R itself, that are not
> affected by this change? :-)
>

Oh, actually, I forgot to mention R in that list...

> Because I think that in this case the list of affected packages would be all
> the packages with R subpackages. Or am I misunderstanding the details?
>

Yes, it is all packages with R subpackages. There are no required
changes to the specs, just a rebuild, unless FPC mandates removing
duplicate Requires.

> BTW nice job. :-)
>
> Best regards,
> --
> José Abílio
>
> ___
> R-SIG-Fedora mailing list
> R-SIG-Fedora@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-fedora



-- 
Elliott

___
R-SIG-Fedora mailing list
R-SIG-Fedora@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-fedora


Re: [R-sig-Fedora] Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies

2019-07-04 Thread José Abílio Matos
On Thursday, 4 July 2019 10.35.18 WEST Elliott Sales de Andrade wrote:
> FYI, I plan on implementing this for F31 if no issues arise.

Are there are any R packages, other than those built in R itself, that are not 
affected by this change? :-)

Because I think that in this case the list of affected packages would be all 
the packages with R subpackages. Or am I misunderstanding the details?

BTW nice job. :-)

Best regards,
-- 
José Abílio

___
R-SIG-Fedora mailing list
R-SIG-Fedora@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-fedora


[R-sig-Fedora] Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies

2019-07-04 Thread Elliott Sales de Andrade
FYI, I plan on implementing this for F31 if no issues arise.

-- Forwarded message -
From: Ben Cotton 
Date: Tue, 2 Jul 2019 at 10:55
Subject: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies
To: , Development discussions
related to Fedora 


https://fedoraproject.org/wiki/Changes/Automatic_R_runtime_dependencies

== Summary ==

Packages of R libraries will produce a standard
R(packageName) Provides, and Requires on these standard
names will be added from library metadata. Standard provides will use
the unmodified versions from the metadata. Suggested dependencies will
not be automatically added, but can be opted in by the packager.


== Owner ==
* Name: [[User:qulogic| Elliott Sales de Andrade]]
* Email: quantum.anal...@gmail.com

== Detailed Description ==

R libraries currently provide metadata indicating runtime requirements on other
libraries in a DESCRIPTION file. Using RPM's file attributes and
dependency generator support, these requirements can be added to packages
automatically. These will use namespaced Provides of
R(packageName) = packageVersion where packageName is
the importable name of the package and packageVersion is the
upstream version (note: upstream versions are often sanitized for Fedora since
RPM cannot use dashes in versions.)

R library metadata includes Depends and Imports which
will be mapped to Requires. Metadata that specifies
Enhances will be mapped directly to Enhances.

Metadata that specifies Suggests will ''not'' be mapped to
anything by default. Oftentimes, suggested libraries are used to indicate
dependencies that are needed at build time only. Packagers who wish to include
any actual runtime Suggests may opt in to adding them using a
(TBD) flag or just continue to add Suggests manually.


== Benefit to Fedora ==

This change provides a standard Provided name for R packages.
This change helps users of R packages by providing the ''original''
version value (as opposed to the sanitized one for RPM.)
This change reduces the amount of work packagers need to do keeping (R
package) dependencies correct.


== Scope ==

* Proposal owners: The automated dependency generator is
[https://src.fedoraproject.org/fork/qulogic/rpms/R/blob/autodeps/f/R-deps.R
available], but will need to be updated to provide the opt-in
Suggests. The generator and file attributes will likely
be housed in the RPM organization, and a new package will be created
for it.  R packages will need to be rebuilt after the generator is
packaged, in order to ensure that they contain the new
Provides. If the mass rebuild is not sufficient, this
will be carried out in a side tag.
* Other developers: Others are welcome to rebuild their packages once
the generators are available, but it is not a requirement.
* Release engineering: [https://pagure.io/releng/issue/8501 Releng issue 8501]
* Policies and guidelines: R packaging guidelines should be updated to
mention the new generator; this can be done after the implementation
is done.
* Trademark approval: N/A (not needed for this Change)


== Upgrade/compatibility impact ==

No impact expected.


== How To Test ==

# Pick any R package in Fedora.
# Attempt to install it.
# Verify that automatic dependencies are correct, i.e., the package
installed without missing dependencies, and the dependencies that were
pulled in are the ones specified in its DESCRIPTION file.


== User Experience ==

Users interested in R may install packages based on upstream's
''real'' version, and missing dependency annotations will be less
likely to occur.


== Dependencies ==

Move of code to RPM organization; it would be preferred to occur as
early as possible, but is not a full blocker.

These packages will need to be rebuilt:
* COPASI
* R-abind
* R-acepack
* R-affy
* R-affydata
* R-affyio
* R-ALL
* R-AnnotationDbi
* R-ape
* R-argon2
* R-ascii
* R-askpass
* R-assertthat
* R-AUC
* R-backports
* R-base64enc
* R-Bessel
* R-BH
* R-biglm
* R-bindr
* R-bindrcpp
* R-Biobase
* R-BiocGenerics
* R-BiocParallel
* R-biomaRt
* R-Biostrings
* R-bit
* R-bit64
* R-bitops
* R-blob
* R-brew
* R-BSgenome
* R-BSgenome.Celegans.UCSC.ce2
* R-BufferedMatrix
* R-BufferedMatrixMethods
* R-Cairo
* R-callr
* R-car
* R-caTools
* R-cellranger
* R-chron
* R-cli
* R-cliapp
* R-clipr
* R-clisymbols
* R-coda
* R-colorspace
* R-combinat
* R-commonmark
* R-corpus
* R-crayon
* R-curl
* R-data.table
* R-date
* R-DBI
* R-dbplyr
* R-debugme
* R-DelayedArray
* R-deldir
* R-desc
* R-dichromat
* R-diffobj
* R-digest
* R-disposables
* R-doParallel
* R-dplyr
* R-dtplyr
* R-DynDoc
* R-ellipsis
* R-errors
* R-evaluate
* R-expm
* R-fansi
* R-farver
* R-fastmatch
* R-fibroEset
* R-filehash
* R-FMStable
* R-foghorn
* R-fontBitstreamVera
* R-fontLiberation
* R-forcats
* R-foreach
* R-formatR
* R-fortunes
* R-fs
* R-fts
* R-futile.logger
* R-futile.options
* R-future
* R-gamlss.dist
* R-gapminder
* R-gdata
* R-gdtools
* R-gee
* R-geepack
* R-generics
* R-GenomeInfoDb
* R-GenomeInfoDbData
*