| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Use /usr/libexec/chroot-git/git instead.
Honestly, I think xbps-src stop using chroot-git directly for a while,
since xbps-src invoke git to retrieve metadata outside of chroot in
order to support git's worktree.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to this change, `./xbps-src sort-dependencies` will take
checkdepends into account when using -Q or -K.
Before this commit, if `pkgA` checkdepends on `pkgB`, sort-dependencies
could still print `pkgA` before `pkgB`. This causes CI to build `pkgB`
twice: first when building `pkgA`, which forces implicit build of pkgB;
second when building `pkgB` (explicit, so it will ignore the package is
already built).
The implementation uses `skip_check_step()` from previous commit, for
consistency, so checkdepends are only taken into account if the check
step would be enabled.
In particular, nothing is changed unless -Q or -K flag is passed.
EXAMPLE:
Before:
```
$ ./xbps-src -Q sort-dependencies python3-process-tests python3-pytest-cov
python3-pytest-cov
python3-process-tests
```
After:
```
$ ./xbps-src -Q sort-dependencies python3-process-tests python3-pytest-cov
python3-process-tests
python3-pytest-cov
```
|
|
|
|
|
| |
because it is called in `usage()`, before `XBPS_DISTDIR` is set by `xbps-src`,
it would only work if `XBPS_DISTDIR` is set by the user.
|
| |
|
|
|
|
| |
this will only really affect update-check for now
|
|
|
|
| |
if not in `void-packages/`, this only prints `*`
|
| |
|
|
|
|
| |
need to check if masterdir is for the requested arch or not
|
| |
|
|
|
|
| |
This allows having the message colours in CI, and only affects xbps-src itself
|
|
|
|
|
|
|
|
|
| |
previously this defaulted to 1. In some rare cases, nproc is not
desirable, but that can be easily overriden in the standard ways,
etc/conf or -jN.
For compatibility with other distros, it defaults to 1 when nproc
is not available.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This significantly speeds up the package building process for build
scripts etc. that run './xbps-src pkg ...' on a long list of packages
that may already have up-to-date local packages built when configured
with XBPS_PRESERVE_PKGS set.
|
|
|
|
| |
helps to check if build can be fixed
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
don't synchronize repositories when not installing any packages
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* List dependencies of subpackages as part of the source packages
dependencies, knowing the subpackage they are coming from does
not matter to a build scheduler as long as xbps-src requires
those to exist in the same way to main depends= have to exist.
* Resolve virtual? packages through existing means in xbps-src to
avoid duplicating and possibly diverting from xbps-src's
behaviour in tools that use dbulk-dump.
* Filter out dependencies on the template itself from sub packages,
this matches the xbps-src behaviour and there is no need to
have to duplicate logic for this into the scheduling tool.
* Error out on archs= restrictions as we do already on broken=
and nocross=, there shouldn't be the need to discover archs=
restrictions when attempting to build the package.
|
|
|
|
|
| |
This makes possible to binary-bootstrap and build packages
with only base-system using tarball of void-packages.
|
| |
|
|
|
|
| |
Was forgotten when the actual option was added.
|
| |
|
| |
|
|
|
|
|
| |
proot is broken and result in random hard to debug issues,
this is the best way to not have new users use it.
|
|
|
|
|
| |
This allows the user to query for variables such as XBPS_CROSS_TRIPLET,
which are only available in a cross-build context.
|
|
|
|
|
|
|
|
|
|
| |
Some packages have rather long test suites, with an option for a shorter
one. With this option, one can choose between shorter tests (-Q) or the
complete longer ones (-K).
This also allows CI to run only the shorter testsuites.
Make the appropriate changes to etc/default.conf and Manual.md as well.
|
|
|
|
|
|
|
|
| |
previously, xbps-src clean foo didn't clean autodeps but
only foo's builddir and destdir. This is useful for clean
rebuilds without re-installing all dependencies.
Fixes: 795429f1a44cb0b84e3af1197c68b880aae86098
|
|
|
|
|
|
| |
It has to be run before remove_pkg_statedir.
Also, run remove_pkg_autodeps as well.
|
|
|
|
|
|
| |
- Remove .travis.yml, common/travis/docker.sh.
- Change references to travis to be more generic.
- Manual.md: Orient against using CI logs in broken= or nocross=.
|
|
|
|
|
|
| |
Flag options was appended to XBPS_PKG_OPTIONS, but was later
overwritten by sourcing config. Instead, pass only flags
options in separate variable and join at very end.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When xbps-install is called without "-C", xbps-install will pick
configuration from the location configured at build time.
Should the default location not have a valid repository configuration,
we couldn't run binary-bootstrap.
On bootstrapping from scratch, without this change, xbps looks into
system configuration, which isn't what we want.
Run xbps-install with our internal configuration instead.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit a23934ed940cbb27883851c0f67a02b85b6ffa39.
|
| |
|
| |
|