aboutsummaryrefslogtreecommitdiff
path: root/xbps-src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* xbps-src: stop invoking chroot-git explicitlyĐoàn Trần Công Danh2024-05-021-4/+5
| | | | | | | | 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.
* ./xbps-src show-build-deps: include checkdepends when using -Q or -KGonzalo Tornaría2024-04-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* xbps-src: print_cross_targets properly without `XBPS_DISTDIR` setclassabbyamp2024-02-241-0/+7
| | | | | 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.
* xbps-src: don't mess with masterdir set in argvJohn2024-02-211-0/+2
|
* xbps-src: add flag to show verbose messagesclassabbyamp2024-02-181-1/+5
| | | | this will only really affect update-check for now
* xbps-src: make print_cross_targets work outside of the root of the repoclassabbyamp2024-02-101-1/+1
| | | | if not in `void-packages/`, this only prints `*`
* xbps-src: improve check for existing "masterdir"classabbyamp2024-01-281-2/+2
|
* xbps-src: fix masterdir creation if "masterdir" existsclassabbyamp2024-01-271-1/+2
| | | | need to check if masterdir is for the requested arch or not
* xbps-src: add -A flag for host arch, create masterdir per host archclassabbyamp2024-01-231-25/+43
|
* xbps-src: disable NOCOLORS in CI0x5c2024-01-061-0/+3
| | | | This allows having the message colours in CI, and only affects xbps-src itself
* xbps-src: default XBPS_MAKEJOBS to `nproc`classabbyamp2022-12-231-0/+7
| | | | | | | | | 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.
* xbps-src: fix repocache for binary-bootstrapĐoàn Trần Công Danh2022-11-181-0/+5
|
* xbps-src: add update-local and show-local-updatesDuncaen2022-09-271-2/+14
|
* xbps-src: normalize usage message.Leah Neukirchen2022-08-151-2/+1
|
* xbps-src: check for existing packages before syncing chroot repodataJami Kettunen2022-06-171-0/+1
| | | | | | | 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.
* xbps-src: add flag to build broken packagesPiotr Wójcik2022-04-261-3/+7
| | | | helps to check if build can be fixed
* xbps-src: make -E ignore remote repositories with -NMichal Vasilek2022-04-171-1/+1
|
* xbps-src: add strict modeMichal Vasilek2022-04-071-3/+8
|
* xbps-src: overwrite packages in local repoPiotr Wójcik2021-09-131-1/+2
|
* xbps-src: limit warning on file:/// mirror to related targetsPiotr Wójcik2021-08-171-1/+4
|
* xbps-src: source msg_warn before its first usePiotr Wójcik2021-08-171-6/+7
|
* xbps-src: let -I imply -NMichal Vasilek2021-07-031-1/+1
| | | | don't synchronize repositories when not installing any packages
* xbps-src: abort bootstrap when tests are enabledMichal Vasilek2021-05-311-0/+4
|
* xbps-src: add make_check=ci-skipPiotr Wójcik2021-04-261-1/+1
|
* xbps-src: remove remove-obsoletesMichael Aldridge2021-04-161-6/+0
|
* xbps-src: Add remove-obsoletes commandMichael Aldridge2021-04-151-0/+6
|
* xbps-src: respect $XBPS_CHECK_PKGSPaper2021-03-211-2/+2
|
* xbps-src: simplify dbulk-dump outputDuncaen2021-03-121-13/+8
| | | | | | | | | | | | | | | | * 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.
* xbps-src: allow to run without gitPiotr Wójcik2021-02-231-1/+1
| | | | | This makes possible to binary-bootstrap and build packages with only base-system using tarball of void-packages.
* xbps-src: fix XBPS_USE_BUILD_MTIME optionPiotr Wójcik2021-02-221-1/+2
|
* xbps-src: add -K option to getopt string.Érico Rolim2021-02-111-1/+1
| | | | Was forgotten when the actual option was added.
* xbps-src: dbulk-dump: remember to print bootstrapToyam Cox2021-02-031-0/+3
|
* xbps-src: Improve the showing of variablesToyam Cox2021-01-271-0/+30
|
* xbps-src: remove proot chroot-styleDuncaen2020-12-301-2/+2
| | | | | proot is broken and result in random hard to debug issues, this is the best way to not have new users use it.
* xbps-src: source cross profiles in show-var when using -a switch.Érico Rolim2020-12-231-1/+5
| | | | | This allows the user to query for variables such as XBPS_CROSS_TRIPLET, which are only available in a cross-build context.
* xbps-src: add -K option for running the full testsuite.Érico Rolim2020-12-141-2/+5
| | | | | | | | | | 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.
* xbps-src: don't remove autodeps on `clean <pkg>`Piraty2020-11-281-1/+0
| | | | | | | | 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
* xbps-src: fix do_cleangt7-void2020-11-251-2/+3
| | | | | | It has to be run before remove_pkg_statedir. Also, run remove_pkg_autodeps as well.
* Disable Travis CI.Érico Rolim2020-11-201-1/+1
| | | | | | - 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=.
* xbps-src: make build options from config ang flags work togetherPiotr Wójcik2020-09-071-10/+1
| | | | | | 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.
* xbps-src: quote wrksrc to allow whitespacePiotr Wójcik2020-09-031-1/+1
|
* xbps-src: expand note about -t flag.Érico Rolim2020-09-031-1/+2
|
* xbps-src: use internal config in foreign environmentĐoàn Trần Công Danh2020-08-221-2/+2
| | | | | | | | | | | | 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.
* xbps-src: -p argument for showing more variablesPiotr Wójcik2020-07-131-3/+10
|
* xbps-src: use $XBPS_GIT_CMD for gitĐoàn Trần Công Danh2020-05-231-3/+2
|
* xbps-src: document all optionsPiotr Wójcik2020-05-201-0/+6
|
* xbps-src: allow loading xbp-src.conf from XDG compliant dirsJohn2020-05-081-0/+2
|
* xbps-src: restore show-pkg-var, new under new nameToyam Cox2020-05-071-15/+46
| | | | This reverts commit a23934ed940cbb27883851c0f67a02b85b6ffa39.
* xbps-src: rework show-pkg-var to reduce effortToyam Cox2020-05-071-22/+15
|
* xbps-src: potentially allow ppcle masterdirs on ppc64le hostsq662020-04-291-1/+1
|