Commit Graph

34 Commits

Author SHA1 Message Date
Juan RP
530e79c7ee
Fix warnings detected by LTO. 2020-04-23 08:32:54 +02:00
Juan RP
9b695433a0
bin: sync usage and keep it consistent in all utils. 2020-04-20 21:25:14 +02:00
Juan RP
0b62ba8592
xbps-fbulk: fix usage. 2020-04-20 18:55:44 +02:00
Juan RP
1f4cfc377b
xbps-fbulk: misc changes (v3).
- Re-add original behaviour now I fixed the real issue for missing
  logs. Keep the build/run pipeline full as soon as possible.
- Added -s, --system. System build mode. To only build pkgs that
  are installed manually in your system.
- Added long options; sync usage.
- Restrict max jobs to ncores; there are issues with shared data,
  and until they are resolved this is the only way to make it work
  reliably.
2020-04-20 18:50:11 +02:00
Juan RP
ae87662547 xbps-fbulk.1: sync with reality. 2020-04-14 19:57:23 +02:00
Juan RP
da2c104d16 xbps-fbulk: calloc -> malloc.
No need to use calloc here because its members are initialized
later on.
2020-04-14 19:57:23 +02:00
Juan RP
5d81aec07f xbps-fbulk: create log files with txt extension. 2020-04-14 19:57:23 +02:00
Juan RP
4f8e07aa64 xbps-fbulk: parallel working implementation.
- Removed -a, this won't work due to dependency cycles between
  host/target.
- Do the process in two steps: collect deps and then build.
- Cleaned up the whole code.
2020-04-14 19:57:23 +02:00
Duncan Overbruck
b8e611a149 bin/xbps-fbulk: port to uthash 2020-02-23 22:18:34 +01:00
Juan RP
d927517327
xbps-fbulk: do not make assert() change program behaviour.
... otherwise if NDEBUG is set chdir() is skipped completely.
2019-07-06 08:37:47 +02:00
Juan RP
8cea3e351b xbps-fetch(1): new utility that replaces 'xbps-uhelper fetch'.
xbps-install(1): document all libfetch env vars.

Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-12 18:07:24 +02:00
Juan RP
9cda7ef72a xbps-digest(1): new utility that replaces "xbps-uhelper digest".
See the manual page:

XBPS-DIGEST(1)              General Commands Manual             XBPS-DIGEST(1)

NAME
     xbps-digest - XBPS utility to generate message digests

SYNOPSIS
     xbps-digest [OPTIONS] [FILE] [FILE+N]

DESCRIPTION
     The xbps-digest utility generates message digests for specified FILE or
     stdin if unset.

OPTIONS
     -m, --mode mode
         Sets the message digest mode. Supported: sha256.  If unset, defaults
         to sha256.

     -h, --help
         Show the help message.

     -V, --version
         Show the version information.

SEE ALSO
     xbps.d(5), xbps-checkvers(1), xbps-create(1), xbps-dgraph(1),
     xbps-fbulk(1), xbps-install(1), xbps-pkgdb(1), xbps-query(1),
     xbps-reconfigure(1), xbps-remove(1), xbps-rindex(1), xbps-uchroot(1),
     xbps-uunshare(1)

AUTHORS
     Juan Romero Pardines <xtraeme@gmail.com>

BUGS
     Probably, but I try to make this not happen. Use it under your own
     responsibility and enjoy your life.

     Report bugs at https://github.com/void-linux/xbps/issues

                                 June 12, 2019

Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-12 16:15:18 +02:00
Juan RP
cfc8e0a580 xbps-fbulk/main.c: update my email address.
Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-06 13:11:33 +02:00
Frank Steinborn
f366d6cb11 manpages: change URL for bug reporting to new GitHub repo 2018-09-23 17:51:07 +02:00
Leah Neukirchen
876f9f4a27 xbps-fbulk: use _DEFAULT_SOURCE, required for wait3 in glibc 2.16.
Also these guards need to be defined before including anything.
2017-08-07 16:08:15 +02:00
Juan RP
27e36fcbf9 xbps-fbulk(1): ignore xbps-src msgs (those starting with '=>').
Reported by @chneukirchen.
2016-02-05 11:44:22 +01:00
Juan RP
68d84d89c1 xbps-fbulk: fix a memleak found by clang-analyzer. 2015-12-21 17:07:43 +01:00
Bheesham Persaud
0a0cd42682 Minor changes to the documentation. 2015-10-30 02:01:29 -04:00
Juan RP
2c40d0a334 xbps-fbulk.1: tyop: responsability -> responsibility (thanks @asergi). 2015-10-28 10:02:29 +01:00
Juan RP
4211f5cd09 New manual page for xbps-fbulk(1). 2015-10-28 09:37:09 +01:00
Juan RP
58074b5358 xbps-fbulk: ignore remove(2) return value (CID #98680). 2015-07-26 08:21:46 +02:00
Juan RP
61ec2d4540 xbps-fbulk: ignore rename(2) return value (CID #98678). 2015-07-26 08:19:53 +02:00
Christopher Brannon
b1e6efeebe Use getopt_long instead of getopt, for musl. 2015-06-21 07:06:18 -07:00
Juan RP
6df2ff69fe xbps-fbulk: add -h for usage(). 2015-06-04 10:02:16 +02:00
Juan RP
c4184e64b0 xbps-fbulk: needs fcntl.h too. 2015-05-28 09:20:15 +02:00
Juan RP
18d4ee73ac xbps-fbulk: wait3() is declared via _{GNU,BSD}_SOURCE with musl. 2015-05-28 09:18:32 +02:00
Juan RP
9f08ec5123 xbps-fbulk: added support to just building pkgs specified as arguments.
xbps-fbulk [options] void-packages [pkg pkgN]
2015-05-04 18:12:52 +02:00
Juan RP
93c85e8038 xbps-fbulk: simplify recollection of dependencies.
The changes I made to xbps-src show-build-deps now will print only
real source package names, without version components or virtual packages,
so that fbulk does not do any extra work.
2015-04-26 10:05:56 +02:00
Juan RP
46e6a00482 xbps-fbulk: check for xcode==2 to add it to "skipped". 2015-04-23 10:37:32 +02:00
Juan RP
7ea5a53cbd xbps-fbulk: deps/foo just append the dependency pkgname. 2015-04-20 18:44:06 +02:00
Juan RP
4b608365e0 xbps-fbulk: split results into 4 categories: good, bad, skipped, deps.
- good (built successfully)
- bad (build failed)
- skipped (build skipped due to broken/only_for_archs)
- deps (build skipped due to dependencies)
2015-04-20 17:47:10 +02:00
Juan RP
e60ab98e2c xbps-fbulk: added -a <cross-target> support. 2015-04-19 11:49:29 +02:00
Juan RP
18e743daed xbps-fbulk: declare usage() with __attribute__((noreturn)) to fix clang. 2015-04-16 10:40:26 +02:00
Juan RP
9199867df1 New utility: xbps-fbulk - a fast bulk builder for xbps.
This is a modified version of DragonFlyBSD's fastbulk utility, that
has been adapted for xbps/xbps-src and contains multiple improvements
like configurable logging path, skipping building non working packages
(broken/only_for_archs), etc.

A manual page will be pushed soon.

This is still WIP, it needs more changes to support building a customizable
set of packages and other additions.
2015-04-16 10:28:01 +02:00