Age | Commit message (Collapse) | Author |
|
|
|
This keeps users from leaking their host environment variables (CFLAGS,
etc.) into Ports, and it keeps us from leaking Port-specific settings
into their dependencies.
|
|
This went undetected because I broke CI so the Python linter didn't run.
|
|
|
|
|
|
Also removes mrsh from the list of ports missing descriptions. I tried
to be descriptive about the patches, but as I picked this port up from
someone else, I'm not 100% sure how to best explain the patches.
|
|
Upgrade patches to git style, add ReadMe.md and remove from the list
of ports missing descriptions.
|
|
Upgrade patch to git style, add ReadMe.md and remove from the list of
ports missing descriptions.
|
|
The patch for config.sub is no longer required.
This also removes gawk from the list of ports missing descriptions as
it no longer has any patches.
|
|
The fnmatch patch that was added in 6de6dff is reverted because it is
not clear why it is necessary, as discussed in #9206.
This also removes diffutils from the list of ports missing descriptions
as it no longer has any patches.
|
|
We now make sure the directory name and `port` property are identical.
|
|
|
|
|
|
Before working on the gdb port some more, I wanted to get these patches
cleaned up to have a good base to build upon.
|
|
|
|
And use that to avoid shelling out multiple times for checking
properties in lint-ports.py.
|
|
The way that lint-ports.py obtains the ports properties is unfortunately
very process intensive. You have to execute `./package.sh showproperty`
once for each property, for each port. Resulting in hundreds of
executions.
We were doing this work twice in both `check_package_files()` and in
`read_port_dirs()`. This resulted in a runtime of around ~10 seconds on
my machine. Removing the duplicate work and allowing the other code path
to utilize the to use the cached properties brought the runtime down to
~5 seconds on my machine.
|
|
This adds a list of ports without descriptions to filter out the
existing ports with unexplained ports, this list should *not* be
appended to!
It also adds a (for now) disabled check that ensures all ports have
patches made with (or compatible with) git.
|
|
|
|
The data structures here were changed from sets to dicts at some point,
with the sets now having different names - this would crash trying to
subtract two dicts.
|
|
|
|
|
|
This adds support for detecting incorrect version numbers and links
in the ports list.
Also, unlike before it doesn't parse the package.sh script but executes
it instead which allows us to detect syntax errors.
|
|
SerenityOS repositories
|
|
|
|
install-ports copys the necessary files from Ports/ to /usr/Ports. Also
refactor the compiler and destiation variables from .port_include.sh
into .hosted_defs.sh. .hosted_defs.sh does not exists when ports are
built in serenity
|
|
|
|
Resolves:
* all: consider-using-sys-exit
* all: wrong-import-order
* all: TODO: Require that a few keys are set? (fixme)
* some: missing-function-docstring
* some: line-too-long
|
|
|
|
As requested by popular demand ;)
https://github.com/SerenityOS/serenity/pull/5325#discussion_r575657614
|