Open silkeh opened 1 year ago
Some things we need to check for
Not specifically related to linting:
- Accidentally including a file outside of a package folder in a commit - how would the builder handle that if that accidentally got through?
So for this one, I think for the first package.yml file we come across - if the release has been bumped then we need to ensure no other files outside of that directory get committed.
It would be nice if there was a way to signify whether a commit is actually a package update, not an update in common, or a styling change.
Linking in #370 as we can apply linters to that more easily with monorepo
alphabeticalized builddeps/rundeps pkgconfig,A-Z,a-z,0-9
]
as that breaks the eopkg index due to xml CDATA shenanigans (edit: This may be specific to piksemel
and might be fixed with the move to lxml
with the py3 version.name:
version:
source:
homepage:
license:
component:
summary:
description:
builddeps:
rundeps:
setup:
build:
install:
check:
However, we do not have a generally accepted order for other keys such as
mancompress:
avx2:
conflicts:
replaces:
libsplit:
...and others. These typically go after description
but before builddeps
however, the order of them is not strictly defined. Additionally, there seem to be a recent convention of putting replaces
and conflicts
at the bottom of the package.yml file.
Files from pypi should be in this url format
https://files.pythonhosted.org/packages/source/u/urlscan/urlscan-1.0.1.tar.gz
Packages with a .desktop
file in /usr/share/applications/
should have appstream metadata, so either:
/usr/share/metainfo/<package>.metainfo.xml
<- current/usr/share/appdata/<package>.appdata.xml
<- legacyPackages with a
.desktop
file in/usr/share/applications/
should have appstream metadata, so either:* `/usr/share/metainfo/<package>.metainfo.xml` <- current * `/usr/share/appdata/<package>.appdata.xml` <- legacy
Also, just learned that appstream builder can't handle symlinks. The package.yml file should use install
for the metadata file rather than a symlink
Add GitHub integration(s) to detect common problems with PRs:
.eopkg
files (#377).Makefile
(#377).packages/*
andpackages/*/*
) (#377).patch <
instead of-i
(#377).homepage
inpackage.yml
(#377).pkgconfig,A-Z,a-z,0-9
) (#695).]
(#889).abi_used_libs
for packages insystem.base
andsystem.devel
must be part ofsystem.base
orsystem.devel
(https://github.com/getsolus/packages/pull/891).python3\.\d+
) inpackage.yml
.To be refined further: