Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ci/codecov: Run the sudo tests | Tavian Barnes | 2022-05-21 | 1 | -1/+1 | |
| | ||||||
* | tests: Don't print test names to non-ttys without --verbose=tests | Tavian Barnes | 2022-05-20 | 1 | -6/+15 | |
| | | | | This should shrink the CI logs appreciably. | |||||
* | Makefile: Add a BUILDDIR variable for out-of-tree builds | Tavian Barnes | 2022-05-20 | 2 | -52/+61 | |
| | | | | bfs can now be built from a read-only source tree. | |||||
* | Makefile: Split build into bin and obj directories | Tavian Barnes | 2022-05-16 | 8 | -73/+68 | |
| | | | | | This also moves the main binary from ./bfs to ./bin/bfs, and ./tests.sh to ./tests/tests.sh, with the goal of keeping the repository root clean. | |||||
* | parse: Warn on paths found within -exclude | Tavian Barnes | 2022-05-13 | 1 | -0/+5 | |
| | ||||||
* | tests: New --stop flag to stop after the first failure | Tavian Barnes | 2022-05-13 | 1 | -1/+9 | |
| | ||||||
* | tests: Buffer standard error, and print it when tests fail | Tavian Barnes | 2022-05-13 | 2 | -93/+89 | |
| | ||||||
* | tests: Add --verbose={commands,errors,skipped,tests} options | Tavian Barnes | 2022-05-13 | 2 | -11/+38 | |
| | ||||||
* | ci/freebsd: Run in a jail | Tavian Barnes | 2022-05-13 | 1 | -5/+5 | |
| | ||||||
* | tests: Exit immediately if fail() detects a crash | Tavian Barnes | 2022-05-12 | 1 | -2/+2 | |
| | ||||||
* | tests: New skip_unless helper | Tavian Barnes | 2022-05-12 | 1 | -56/+68 | |
| | ||||||
* | tests: Use skip_if for sudo tests | Tavian Barnes | 2022-05-12 | 4 | -49/+66 | |
| | | | | | | This lets us categorize the sudo tests properly, which fixes e.g. $ ./tests.sh --posix --sudo | |||||
* | stat: Pass AT_NO_AUTOMOUNT if possible | Tavian Barnes | 2022-05-12 | 3 | -0/+26 | |
| | | | | | Previously bfs would trigger automounts even when it didn't descend into the mount directory, while GNU find does not. | |||||
* | stat: Keep statx()-specific flags separate | Tavian Barnes | 2022-05-12 | 1 | -8/+9 | |
| | | | | | Previously, if statx() was unsupported at runtime, we could end up passing AT_STATX_DONT_SYNC to fstatat() which doesn't expect it. | |||||
* | stat: Factor the BFS_STAT_TRYFOLLOW retry logic out | Tavian Barnes | 2022-05-12 | 1 | -30/+25 | |
| | ||||||
* | stat: Rename some feature detection macros | Tavian Barnes | 2022-05-12 | 1 | -8/+8 | |
| | ||||||
* | color: Don't colorize capable files by default | Tavian Barnes | 2022-05-11 | 1 | -1/+1 | |
| | | | | | | | GNU ls changed this default in coreutils 9.1, since checking capabilities has a severe performance penalty. Link: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=6b5134770d35b045e5a9219bf4a216324e0113d3 | |||||
* | color: Only check ln=target once | Tavian Barnes | 2022-05-11 | 1 | -7/+7 | |
| | | | | Fixes: 7241d6cc35134fcb5ec6dfa81bbd01e430b2415f | |||||
* | Makefile: Look for .d files in the right places | Tavian Barnes | 2022-05-11 | 1 | -1/+1 | |
| | | | | Fixes: f2cb2215213c0d831a697b0b440f78d9ad5c2b83 | |||||
* | main: Avoid a goto | Tavian Barnes | 2022-05-11 | 1 | -6/+5 | |
| | ||||||
* | README: Add links to upstream packages | Tavian Barnes | 2022-05-11 | 1 | -9/+9 | |
| | ||||||
* | Makefile: New check-install target | Tavian Barnes | 2022-05-09 | 1 | -0/+8 | |
| | ||||||
* | README: Use a table for side-by-side examples | Tavian Barnes | 2022-05-09 | 1 | -10/+35 | |
| | ||||||
* | docs: New USAGE.md document | Tavian Barnes | 2022-05-09 | 2 | -40/+175 | |
| | ||||||
* | docs: Move dependency flag info from the README to docs/BUILDING.md | Tavian Barnes | 2022-05-07 | 2 | -11/+22 | |
| | ||||||
* | docs: Split CONTRIBUTING into BUILDING and HACKING | Tavian Barnes | 2022-05-07 | 3 | -48/+57 | |
| | ||||||
* | README: Add a link to the AUR package | Tavian Barnes | 2022-05-07 | 1 | -0/+3 | |
| | ||||||
* | README: Open the "already packaged" section by default | Tavian Barnes | 2022-05-07 | 1 | -2/+10 | |
| | ||||||
* | README: Reformat to save some vertical space | Tavian Barnes | 2022-05-07 | 1 | -16/+50 | |
| | ||||||
* | docs: Move some documentation into a subfolder | Tavian Barnes | 2022-04-21 | 4 | -2/+2 | |
| | ||||||
* | Add basic zsh completion | Arvid Norlander | 2022-04-21 | 2 | -0/+175 | |
| | | | | Fixes #32. | |||||
* | Makefile: Put the main .o files under build/src | Tavian Barnes | 2022-04-21 | 2 | -36/+32 | |
| | ||||||
* | Makefile: Generate build/FLAGS.new with its own target | Tavian Barnes | 2022-04-21 | 1 | -4/+7 | |
| | ||||||
* | Makefile: Replace flags.sh with a two-line recipe | Tavian Barnes | 2022-04-19 | 2 | -15/+2 | |
| | ||||||
* | Makefile: Move .flags to build/FLAGS | Tavian Barnes | 2022-04-19 | 3 | -12/+14 | |
| | ||||||
* | Makefile: Quiet errors from git describe | Tavian Barnes | 2022-04-19 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | With new git versions, it is an error to invoke git inside a repository owned by someone else. This manifested as $ sudo make install fatal: unsafe repository ('/home/tavianator/code/bfs' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /home/tavianator/code/bfs Work around it with `2>/dev/null`. This should also help if git is not installed, but .git/ still exists. Link: https://github.blog/2022-04-12-git-security-vulnerability-announced/ | |||||
* | RELEASES.md: 20222 is too far away | Tavian Barnes | 2022-04-19 | 1 | -1/+1 | |
| | ||||||
* | ci/codecov: Look for gcov files under build | Tavian Barnes | 2022-04-18 | 1 | -1/+1 | |
| | ||||||
* | Makefile: Spread out the .PHONY targets | Tavian Barnes | 2022-04-18 | 1 | -2/+9 | |
| | ||||||
* | Makefile: Use a recipe to update .flags rather than $(shell) | Tavian Barnes | 2022-04-18 | 1 | -8/+4 | |
| | | | | | | | | | This means we don't need to generate .flags unless we're actually building a target that needs it, which is important for thing like $ sudo make install that used to inconveniently create a root-owned .flags file. | |||||
* | tests: Also put build outputs under build/ | Tavian Barnes | 2022-04-16 | 3 | -19/+14 | |
| | ||||||
* | Keep Build Files In `build` (#89) | トトも | 2022-04-16 | 1 | -29/+32 | |
| | ||||||
* | Source / Include Folder (#88) | トトも | 2022-04-16 | 54 | -5/+8 | |
| | | | Moved Source Files Into `src` Folder | |||||
* | style: Use &array[i] rather than array + i | Tavian Barnes | 2022-04-16 | 3 | -8/+8 | |
| | ||||||
* | color: Support a separate $BFS_COLORS environment variable | Tavian Barnes | 2022-04-15 | 5 | -70/+84 | |
| | ||||||
* | color: Use three-letter codes for warnings and errors | Tavian Barnes | 2022-04-15 | 3 | -11/+11 | |
| | | | | No reason to potentially conflict with the two-letter codes GNU ls uses. | |||||
* | tests: Quiet errors from chflags | Tavian Barnes | 2022-04-15 | 1 | -1/+1 | |
| | ||||||
* | eval: Use BFTW_BUFFER when deleting files on FreeBSD | Tavian Barnes | 2022-04-15 | 1 | -0/+35 | |
| | | | | Works around #67. | |||||
* | bftw: New BFTW_BUFFER flag | Tavian Barnes | 2022-04-15 | 2 | -2/+4 | |
| | ||||||
* | bfs.1: Fix a confusing comma in the -size docs | Tavian Barnes | 2022-04-01 | 1 | -2/+2 | |
| |