Commit graph

38 commits

Author SHA1 Message Date
Érico Nogueira 87ee926073 .gitignore: fix directory patterns for ugrep.
ugrep will only ignore directories listed in .gitignore if they are
terminated with a slash. We want git to still match symlinks, so leave
the non-terminated entries in.
2021-07-08 11:56:11 -03:00
Piotr Wójcik d220a133b7 .gitignore: add custom configurations 2020-02-22 20:06:45 +01:00
Juan RP 3dc9801aee
.gitignore: ignore etc/xbps.d/custom 2020-01-26 10:43:35 +01:00
Juan RP 75eca1b03e xbps-src: base-chroot-v2 (reduce artifacts/deps)
This patchset contains multiple changes to xbps-src and
its required package "base-chroot" for building packages
via chroot.

- moved xbps.d(5) conf files to `etc/xbps.d`.
- renamed xbps.d(5) repository files to `etc/xbps.d/repos-{local,remote}*`.
- do not set `--repository` to any xbps command that supports it,
  xbps-src now simply populates `rootdir/etc/xbps.d` with correct
  settings (taking care of CHROOT_READY/IN_CHROOT).
- Unless `-C` is set (to preserve builddir/destdir/autodeps), when
  entering to the chroot (if CHROOT_READY is set), xbps-src will
  clean up the masterdir and then perform a system update to always
  use a constant set of packages for that exact date.
- Improved some normal/error msgs.
- Includes support for `xbps>=0.58`.
- common/hooks: switch to bsdtar.
- base-chroot:
  - base-chroot-musl is gone, now unified for glibc/musl.
  - deps removed: gettext, mpfr, readline, texinfo, which, xz.
  - deps changed: tar -> bsdtar.

Effectively this reduces dependencies in `base-chroot`, makes
it unified for musl and glibc, switches xbps-src to use `bsdtar`
rather than GNU `tar` and `xz`, gets rid of useless host dependencies
like GNU gettext, texinfo, etc.

I've been testing these changes for 1 month or so already,
I was able to build from scratch `base-system` for both native
and multiple targets, i.e `./xbps-src -a target -Nt pkg base-system`
2020-01-05 10:44:56 +01:00
Juan RP e4984d01ea xbps-src: multiple performance improvements
- use xbps-checkvers(1) to resolve dependencies.
- all dependencies are installed at once for the host and target.
- the show-build-deps target is now much faster.
- the update-bulk/show-repo-updates targets are now much faster.
- the update-sys/show-sys-updates targets are now much faster.
- the bootstrap target now works on musl hosts.
- simplified some loops.
- use cut(1) rather than awk(1) where applicable.
- multiple random changes to improve performance.

Based on work started by @Duncaen on #12433

Close #12433
Close #11282
2019-07-10 20:28:46 +02:00
Jürgen Buchmüller 17ba00b095 Revert "xbps-src: multiple performance improvements."
This reverts commit 2a4e178e35.
2019-07-05 12:08:45 +02:00
Juan RP 2a4e178e35 xbps-src: multiple performance improvements.
- use xbps-checkvers(1) to resolve dependencies.
- all dependencies are installed at once for the host and target.
- the `show-build-deps` target is now much faster.
- the `update-bulk/show-repo-updates` targets are now much faster.
- the `update-sys/show-sys-updates` targets are now much faster.
- the `bootstrap` target now works on musl hosts.
- simplified some loops.
- use cut(1) rather than awk(1) where applicable.
- multiple random changes to improve performance.

Based on work started by @Duncaen on https://github.com/void-linux/void-packages/pull/12433

Close https://github.com/void-linux/void-packages/pull/12433
Close https://github.com/void-linux/void-packages/pull/11282
2019-07-05 08:53:51 +02:00
Juan RP 2d177e3ce3 .gitignore: add etc/virtual 2014-11-09 09:03:11 +01:00
Juan RP 1fb261bb97 xbps-src: use default hostdir if unset; added support for x86 chroots ootb.
- If -H (hostdir) is unset, it now defaults to xbps-packages/hostdir. This way
  a single hostdir can be shared by multiple masterdirs without any tweak.

- If bootstrap pkg are installed via 'binary-bootstrap arch', add support to
  reexec xbps-src with linux32 to allow 32bit builds without any tweak or
  additional commands.
2014-04-22 16:01:05 +02:00
Juan RP 6604d5ff47 .gitignore: ignore masterdir* 2014-04-07 18:22:13 +02:00
Juan RP 8015e222fe .gitignore: sync with reality. 2014-04-01 14:31:42 +02:00
Juan RP 12b946d51e .gitignore: ignore generated xbps-src. 2014-03-22 13:12:12 +01:00
Juan RP ff78a3aafe .gitignore: update. 2014-03-22 12:35:55 +01:00
Juan RP ce419b30f0 Added a simple Makefile in doc to convert manual.txt to xhtml with asciidoc. 2014-03-17 10:35:05 +01:00
Juan RP f31e027fc8 .gitignore: ignore masterdir. 2013-12-10 21:39:10 +01:00
ojab 86d9b13a80 Add .gitignore for temporary vim/emacs files 2012-01-14 18:40:12 +04:00
Juan RP c973848606 Removed xbps-src code. It's available on https://github.com/xtraeme/xbps-src. 2011-11-19 00:05:42 +01:00
Juan RP e78e0028ca xbps-src: rename libexec helpers, they were too long. 2011-07-14 13:24:00 +02:00
str1ngs 21ec3df62c vanilla: .gitignore upstream.json 2011-06-27 13:51:30 -07:00
str1ngs c304c4ff3a vanilla: reuse .hgignore for .gitignore 2011-06-19 10:14:15 -07:00
str1ngs b0e551ef1d vanilla: git ignore masterdir 2011-06-19 10:08:42 -07:00
Juan RP 4bf44b617b Moved .gitignore to .hgignore and make it work.
--HG--
rename : .gitignore => .hgignore
2010-05-02 11:53:29 +02:00
Juan RP 10affe95b4 Fixup .gitignore.
--HG--
extra : convert_revision : f58a81eddd749bda12afcee3c8aa8133eade4d46
2010-01-15 04:28:13 +01:00
Juan RP 1c3bae7282 Sync .gitignore with reality.
--HG--
extra : convert_revision : 012cd88da83808c1b7ab1b822e28add3666674d1
2009-11-26 23:43:22 +01:00
ojab 22f5baaf46 Add masterdir to .gitignore
--HG--
extra : convert_revision : 1df0d6928c07644aee4aae9484e686f85450bf5b
2009-11-15 17:21:36 +03:00
Juan RP bd85f1eae5 .gitignore: ignore static lib.
--HG--
extra : convert_revision : 14452260ceee9f23375522afc5656a96e713b406
2009-08-12 07:14:23 +02:00
Juan RP 7740958643 Split repo commands into the new xbps-repo bin.
- Remove lib/info.c that doesn't belong in the lib and add it into the
  bins.
- Every binary now uses its own directory on bin/.

This is in preparation for future changes for correct behaviour of
the library and binaries.

--HG--
extra : convert_revision : 880d16378bf940c4f5478de0362afe883cd5fd2c
2009-02-05 14:46:09 +01:00
Juan RP e7cf222ac9 Reorganize the tree splitting stuff on its own dir.
--HG--
extra : convert_revision : 87473fb499c42deaf0285f5559dc1cd8d67ab436
2008-12-21 23:57:02 +01:00
Juan RP 9019592d9d Add libxbps.so* into .gitignore.
--HG--
extra : convert_revision : 3dfc7f434bddffa06fc74f06b27cc9489aea0ada
2008-12-21 22:07:07 +01:00
Juan RP 6a779c98d5 Add some more stuff to .gitignore.
--HG--
extra : convert_revision : e18fb568b2bac5085c59a4538ba60d8da83bfd94
2008-12-20 01:45:47 +01:00
Juan RP 6a16f41237 Add WIP xbps-bin utility to handle binpkgs/repos.
--HG--
extra : convert_revision : 8bfa759a11b09cfe1ebc45f9357e6e942552ed32
2008-12-19 10:31:53 +01:00
Juan RP b4662e94c2 Add the xbps bins.
--HG--
extra : convert_revision : bbe02ca4cb277550c105b4bd3c693b1c5a003692
2008-12-19 04:27:08 +01:00
Juan RP 5f69948167 Remove utils from .gitignore!
--HG--
extra : convert_revision : 2a045a6632b6cd05d3e9b0481deafba648d4b1b4
2008-12-19 04:15:29 +01:00
Juan RP b2c180348e First check in progress for binary packages.
It's explained in the BINPKG_INFO.txt file, and will be extended
probably in a not so distant future. My next work will be working
in the code to handle binary packages with a new utility in C.

--HG--
extra : convert_revision : 1a1846e330fdb11f3dd79cf9d9f12c614098cfe8
2008-12-11 03:22:54 +01:00
Juan RP c87b042635 Ignore destdir created by default conf.
--HG--
extra : convert_revision : 289910b79603e606a58911800e07756b1f13cde7
2008-11-26 01:09:08 +01:00
Juan RP 99d5350b30 Major changes to not depend on cksum and db from NetBSD.
Two new utilities in C have been created:
	- xbps-digest: shows the SHA256 hash for a file.
	- xbps-pkgdb: handles dependency stuff via proplib.

Templates should use now $build_depends and change $checksum to be
a SHA256 hash. That means that I'm currently using xbps on Linux and
I lost interest on NetBSD, perhaps I'll add support for it in the
future.

Only git and its dependencies have been converted, as well as vim.

--HG--
extra : convert_revision : 53a7e030ca6b6d02bb6cd3e51d42b7d5702c1b57
2008-10-20 16:34:27 +02:00
Juan RP de994b8fa4 Added default build directory to .gitignore.
--HG--
extra : convert_revision : 5477683e469e0e901562ae4cf2efa1577580d576
2008-10-06 04:13:00 +02:00
Juan RP 16ae7bdf63 Added a .gitignore file to ignore default created dirs.
--HG--
extra : convert_revision : d473acec23244590a51d885df2c56c224a4cd6c4
2008-10-06 02:04:54 +02:00