Commit graph

  • 7f00abc36b jobserver: fix rare race condition in previous timer-exception workaround. main Avery Pennarun 2021-07-27 12:59:55 -04:00
  • 8b2a4e9c37 Fix typo in docs: "an C" should be "in C" Ankur Kothari 2020-05-18 20:24:12 +10:00
  • f75b69f063 fix typo / grammar in docs landing page Raphael Das Gupta 2020-03-27 02:18:08 +01:00
  • 3f6e5f5e70 Fix typo. Aidan Holm 2020-03-28 20:59:02 +08:00
  • 670abbe305 jobserver.py: _try_read()'s alarm timeout needs to throw an exception. Avery Pennarun 2020-06-15 02:17:25 -04:00
  • aa920f12ed jobserver.py: fix very rare python3 failure reported by a user. Avery Pennarun 2020-06-15 00:39:10 -04:00
  • c1054a5902 t/110-compile: remove hard dependency on /usr/include/stdio.h. Avery Pennarun 2020-06-15 00:33:41 -04:00
  • a60949135d Merge branch 'doc_install_sudo' of git://github.com/BlameJohnny/redo Avery Pennarun 2020-03-04 15:00:34 -05:00
  • 68d355178e Merge: Add compatibility to Python 3 (and retain Python 2) Avery Pennarun 2020-03-04 14:54:24 -05:00
  • 92f86fc022 docs/cookbook/c: missing quote char. Avery Pennarun 2020-01-05 02:52:26 -05:00
  • 94e9ee60d2 GettingStarted.md: Add -E option to sudo to preserve environment Johnny Lind 2019-12-08 01:00:28 +01:00
  • be3bda885d Remove python<3.0 restriction in setup.py Moritz Lell 2019-10-30 22:14:00 +01:00
  • a8fd6a123c Make compatible to BeautifulSoup4 Moritz Lell 2019-10-30 21:27:46 +01:00
  • 5953729a44 Accept octal representations of Python 2 (0nnn) and Python 3 (0onnn) Moritz Lell 2019-10-30 19:55:46 +01:00
  • 7f2d04d5ff Prevent iterator being changed while iterating Moritz Lell 2019-10-30 19:54:28 +01:00
  • efab08fc9f Python 2/3 compatible treatment of max(n, None) Moritz Lell 2019-10-30 19:51:17 +01:00
  • 52a8ca25b2 Prevent "Exception ... ignored" in redo-log ... | head Moritz Lell 2019-10-30 19:28:09 +01:00
  • e239820afd Distinguish byte (python2 str type) and unicode strings (python 3 str type) Moritz Lell 2019-10-30 19:21:23 +01:00
  • 0d8d19437e Set file descriptor as inheritable for all pythons >=3.4 Moritz Lell 2019-10-30 19:11:00 +01:00
  • 62845688e5 Unify print function usage for Python 2 and 3 via __future__ import Moritz Lell 2019-10-30 19:09:39 +01:00
  • 491040ea72 Run 2to3 utility Moritz Lell 2019-10-27 14:19:50 +01:00
  • e8d4809bc5 Remove python interpreter selection Moritz Lell 2019-10-27 14:19:25 +01:00
  • b08b5efcef t/shelltest.od: Add a new preliminary test for IFS= behaviour. Avery Pennarun 2019-07-24 02:45:47 -04:00
  • 262d272f29 t/103-unicode: workaround unicode normalization on newer macOS. Avery Pennarun 2019-07-24 03:00:52 -04:00
  • bc9cc75bc6 Disable docker container test from toplevel 'redo test' Avery Pennarun 2019-07-24 02:52:17 -04:00
  • 8924fa35fa Oops, redo/whichpython.do would fail if python2.7 didn't exist. Avery Pennarun 2019-06-21 00:27:40 +09:00
  • 12b0d59b9f Merge remote-tracking branch 'origin/experimental/dockrepo' Avery Pennarun 2019-05-15 18:55:52 -07:00
  • fb0a5bd69c Fix more problems with "/usr/bin/env python" picking python3. Avery Pennarun 2019-05-15 16:53:49 -07:00
  • 2e4d3d518e cookbook/container/default.sha256.do: use explicit close_fds=False. Avery Pennarun 2019-05-15 15:17:29 -07:00
  • 1ff5262124 redoconf/configure.sh: use "cmp -s" to silence output. Avery Pennarun 2019-05-15 14:12:26 -07:00
  • 4b01cdd9b5 Fix minor pylint warnings. Avery Pennarun 2019-05-13 23:08:41 +00:00
  • 5684142f11 redo-log: "(resumed)" lines didn't print as often as they should. Avery Pennarun 2019-05-13 22:58:42 +00:00
  • 642d6fa193 Unset CDPATH if it is set. Avery Pennarun 2019-05-01 13:17:35 -04:00
  • 7238b370e4 builder.py: create temp log file in the same directory as the final one. Avery Pennarun 2019-03-12 00:03:34 -04:00
  • e24e045a07 docs/cookbook/redoconf-simple: a simple redoconf C++ project. Avery Pennarun 2019-03-05 23:33:11 -05:00
  • 7845f6ddde docs/cookbook/container: update docker image builder. Avery Pennarun 2019-03-05 21:49:36 -05:00
  • 2bea74df35 Work around ancient shells where >$3 does not implicitly quote $3. Avery Pennarun 2019-03-03 20:56:17 -05:00
  • 7895c947d5 shelltest.od: warning 84 (W84) triggered on *all* shells, not just posh. Avery Pennarun 2019-03-03 20:53:47 -05:00
  • 0dcc685739 Minor clarifications to redo install instructions. Avery Pennarun 2019-03-03 19:30:37 -05:00
  • cead02bd21 redo-log: sometimes print a (resumed) line after ending a level of recursion. Avery Pennarun 2019-03-02 19:08:47 -05:00
  • b196315222 Change -x/-v to only affect top-level targets by default, not recursively. Avery Pennarun 2019-03-02 18:46:00 -05:00
  • 7b4e3326bd logs.py: don't print (unchanged) lines with --no-log unless DEBUG. Avery Pennarun 2019-03-02 18:41:37 -05:00
  • 3071d13416 Merge branch 'redoconf' Avery Pennarun 2019-03-02 04:32:07 -05:00
  • 1a3c11f220 redoconf: a stub rc_include() now sources ./redoconf.rc automatically. Avery Pennarun 2019-03-02 04:23:05 -05:00
  • 49f85f2156 redoconf: assorted minor fixes. Avery Pennarun 2019-03-02 04:12:25 -05:00
  • 1e2fc9be8a Merge branch 'master' into redoconf Avery Pennarun 2019-03-02 04:09:17 -05:00
  • 63230a1ae3 builder.py: atomically replace the log for a given target. Avery Pennarun 2019-03-02 03:45:35 -05:00
  • 8a97b0cb2c redo-ifchange regression: if REDO_LOG is not set, assume it's 1. Avery Pennarun 2019-03-02 03:18:17 -05:00
  • 83bc49512f Explicitly reject target/source filenames with newlines in them. Avery Pennarun 2019-03-02 03:09:42 -05:00
  • e5a27f04e8 If redo searched all the way up to /default.do, it would run ./default.do instead. Avery Pennarun 2019-03-02 02:53:02 -05:00
  • 90989d1ffb Overridden files were accidentally getting reclassified as static. Avery Pennarun 2019-03-02 02:38:02 -05:00
  • 8100aa4973 Certain redo post-build failures would still mark a target as built. Avery Pennarun 2019-03-02 02:13:18 -05:00
  • 8a0effa5b3 minimal/do: remove dependency on 'seq' command. Avery Pennarun 2019-02-24 22:36:47 -05:00
  • 88250334da redoconf: move -Wl,-rpath flags to shlib.rc and add -Wl,-z,origin. Avery Pennarun 2019-03-01 13:38:25 -05:00
  • 1eb7b2879d mkdocs: don't bother to include cookbook/c/out.*/ dirs. Avery Pennarun 2019-02-25 13:57:47 +00:00
  • e036e2522d docs/cookbook/c/allconfig.do: avoid need for '&' backgrounding. Avery Pennarun 2019-02-25 13:44:28 +00:00
  • 1574b11598 Precompiled headers: supply "-x c-header" or "-x c++-header" if available. Avery Pennarun 2019-02-25 13:09:11 +00:00
  • 313ac6a51c minimal/do: remove dependency on 'seq' command. Avery Pennarun 2019-02-24 22:36:47 -05:00
  • 328d4ead7a Fix some build problems on MacOS X. Avery Pennarun 2019-02-24 22:29:19 -05:00
  • 017997c035 redoconf: posix.rc: fix abort when timespec is not available. Avery Pennarun 2019-02-23 21:00:26 -05:00
  • bdb8d8a27d redoconf: better handling of required vs optional detectors. Avery Pennarun 2019-02-23 16:45:08 -05:00
  • 337e026ce3 redoconf: clock_gettime() detection needs to depend on -lrt. Avery Pennarun 2019-02-23 15:51:30 -05:00
  • ea6a7135f1 redoconf: avoid sed -E in _objlist(). Avery Pennarun 2019-02-23 15:44:46 -05:00
  • 6dae51f4d2 Experimental new redoconf C/C++ build/autoconfiguration system. Avery Pennarun 2019-02-03 01:14:51 -05:00
  • 5db883ac58 mkdocs: exclude more generated file types. Avery Pennarun 2019-02-23 06:47:59 -05:00
  • e7ea1e651d Merge remote-tracking branch 'origin/master' Avery Pennarun 2019-02-23 00:42:29 -05:00
  • cb60966d9e mkdocs: exclude more generated files from cookbook/container. Avery Pennarun 2019-02-20 19:18:02 -05:00
  • 938c6c65c4 cookbook/container/kvm: better handling of \r\n line endings. Avery Pennarun 2019-02-20 19:14:37 -05:00
  • 78921b0138
    Merge pull request #27 from spacefrogg/fix-tty apenwarr 2019-02-14 04:57:53 -05:00
  • c18c4b92c9 Fix builder: Reinstate stderr instead of opening /dev/tty Michael Raitza 2019-02-09 19:17:34 +01:00
  • 1479189bfe mkdocs: include additional hljs languages. Avery Pennarun 2019-02-12 16:32:30 -05:00
  • 6fbda9a7b3 docs/cookbook/container: don't delete *.out and *.code during build. Avery Pennarun 2019-02-02 23:54:27 -05:00
  • 3dbdfbc06f Better handling if parent closes REDO_CHEATFDS or MAKEFLAGS fds. Avery Pennarun 2019-01-18 00:06:18 +00:00
  • bcc05a6e86
    Merge pull request #26 from martinmosegaard/proof-cook-container apenwarr 2019-01-16 19:52:17 -10:00
  • cb7d3afc8f cookbook/container: minor proofreading Martin Mosegaard Amdisen 2019-01-15 08:24:43 +01:00
  • 909bb62dce cookbook/container: some minor clarifications. Avery Pennarun 2019-01-14 06:57:26 +00:00
  • 20fe7a79ec cookbook/container: skip on missing cpio and missing kvm kernel image. Avery Pennarun 2019-01-14 06:46:07 +00:00
  • 537866b871 cookbook/container: remove unexplained "exec >&2" lines. Avery Pennarun 2019-01-14 06:44:55 +00:00
  • 1eeb1fb909
    Merge pull request #25 from ejona86/missing-ps1 apenwarr 2019-01-13 19:22:31 -10:00
  • a6db325998 cookbook/container: add missing PS1 to sh example Eric Anderson 2019-01-13 20:38:54 -08:00
  • 3923a7d3f8 cookbook/container: example of building+running docker containers. Avery Pennarun 2019-01-02 23:46:01 -05:00
  • 01497f55e9 mkdocs: enforce sufficiently new version, and use mkdocs-exclude. Avery Pennarun 2019-01-08 01:32:16 -05:00
  • 61f3e4672e Workaround for completely broken file locking on Windows 10 WSL. Avery Pennarun 2019-01-02 14:18:51 -05:00
  • 613fcb1c34 minimal/do: use 'pwd -P' instead of '/bin/pwd'. Avery Pennarun 2019-01-01 19:10:55 -05:00
  • 5907d82665 setup.py: add a python setuptools package. Avery Pennarun 2018-12-31 20:55:20 -05:00
  • 576e980c0e t/351-deps-forget: remove a test that occasionally flakes. Avery Pennarun 2018-12-31 19:35:56 -05:00
  • 87bac287b6 t/010-jobserver: add serial/parallel override tests. Avery Pennarun 2018-12-31 17:43:03 -05:00
  • 19049d52fc jobserver: allow overriding the parent jobserver in a subprocess. Avery Pennarun 2018-12-31 18:57:58 -05:00
  • e247a72300 jobserver: don't release the very last token in wait_all(). Avery Pennarun 2018-12-31 16:53:13 -05:00
  • 22dd0cdd6b Move _all.do -> all.do and slightly update docs. Avery Pennarun 2018-12-31 15:07:18 -05:00
  • e897c3eca5 Avoid symlinking to /bin/true in minimal/do, which fails when /bin/true is busybox (#24) Tony Garnock-Jones 2018-12-31 18:27:43 +00:00
  • bd9a9e4005 shelltest: add some tests around 'local' and 'set -u'. Avery Pennarun 2018-12-20 08:39:42 +00:00
  • cf274842f4 shelltest: wrap some tests in 'eval' so they don't abort in posh. Avery Pennarun 2018-12-20 08:50:40 +00:00
  • d7a057ed29 shelltest: add reference URLs for some "set -e" behaviour. Avery Pennarun 2018-12-20 04:46:10 +00:00
  • 174a093dc5 Don't set_checked() on is_override files. Avery Pennarun 2018-12-18 12:59:51 +00:00
  • 686c381109 Fix more inconsistent behaviour with symlinks in paths. Avery Pennarun 2018-12-17 15:58:06 +00:00
  • 1f64cc4525 shelltest.od: add more "set -e" tests and add a 'skip' return code. Avery Pennarun 2018-12-17 12:35:32 +00:00
  • 761b77333e redo/sh.do: include the 'lksh' variant of mksh. Avery Pennarun 2018-12-17 13:21:42 +00:00
  • 6cf06f707a shelltest.od: we accidentally treated some fails as mere warnings. Avery Pennarun 2018-12-17 12:33:17 +00:00
  • 9aa8061e83 minimal/do: fix a bug when $PWD != $(/bin/pwd). Avery Pennarun 2018-12-17 13:50:33 +00:00