Skip to content
Snippets Groups Projects
  1. Nov 19, 2023
    • James Vasile's avatar
      Use venv module instead of virtualenv · 23b59c6a
      James Vasile authored
      The venv module is part of standard python, so let's use it instead of
      virtualenv, which requires its own installation step.
      23b59c6a
    • James Vasile's avatar
      Add a task runner · 16640fc8
      James Vasile authored
      Make is not a great taskrunner.  There are some tasks that aren't
      really about building and we don't need make for it.  So here's a simple
      task runner where we can put those things.
      
      To start, we have a 'watch' task, which just watches the doc for changes
      and rebuilds as needed.  We also have a task that checks the links in a
      pdf for 200 responses and complains if it doesn't get one.
      
      Also, add a Makefile target to establish bin/dosh in new doc dirs.  That
      target isn't automatically hit.  The user has to do it manually.  Maybe
      we'll tie it in so it just gets added (like venv), but for now it's not
      a crucial part of the workflow, so we don't do it.
      
      The bin/dosh we stick in dirs is not just a copy and not just a symlink.
      It's a wrapper around our dosh.  This lets the user inherit our targets
      but also add doc-specific changes and new tasks.
      16640fc8
  2. Mar 19, 2021
    • Karl Fogel's avatar
      Stop doing the "symlink to rev-labeled PDF" trick · 7649490e
      Karl Fogel authored
      Before now, building "foo.pdf" would instead build "foo-rREVNUM.pdf"
      (where REVNUM is determined by 'get_revision') and symlink "foo.pdf"
      to that.  Although this had its uses, it also would occasionally cause
      problems, primarily accidentally copying the symlink to somewhere else
      and ending up with a broken symlink at the destination.  After
      discussing it yesterday, James and I decided to switch to the simpler
      "just build foo.pdf" method, and that's what this commit does.
      7649490e
  3. Nov 30, 2020
  4. Nov 23, 2020
  5. Sep 21, 2020
    • Karl Fogel's avatar
      Use ${PYBIN} instead of raw "python" · 180b3292
      Karl Fogel authored
      At least right now there is a moment in Debian 'testing' in which
      there is no 'python' command, only 'python3'.  Since we are already
      explicitly finding 'python3' for PYBIN anyway, just use that.
      180b3292
  6. May 12, 2020
    • James Vasile's avatar
      Only create venv if we can't satisfy python dependencies · 9995c927
      James Vasile authored
      I don't actually use the venv, and I was tired of it littering.
      Virtual environments are probably best left to the user to configure,
      and not for us to force on the user.  It's still nice to have it as a
      backup, but if the user has a way to satisfy those dependencies
      without our intervention, don't intervene.
      
      There are a few ways to supply the python submodules that aren't in a
      local venv.  One might install systemwide, use direnv, or use a
      centralized venv for all of ots, etc.  I use direnv, but this change
      makes room for any scheme a user might want.  We force our own venv
      only as a last resort.
      9995c927
    • James Vasile's avatar
      Whitespace · 0c07be60
      James Vasile authored
      0c07be60
  7. Apr 10, 2020
  8. Jan 11, 2020
  9. Jan 08, 2020
  10. Jul 25, 2019
  11. May 01, 2019
  12. Mar 24, 2019
  13. Mar 18, 2019
    • Karl Fogel's avatar
      Handle large numbers of source files better · 94e24516
      Karl Fogel authored
      Don't print all the possible 'make foo.pdf' commands when there are so
      many source files (not all of which are necessarily even buildable on
      their own) that the list would be very long.
      94e24516
  14. Mar 13, 2019
  15. Feb 21, 2019
    • Karl Fogel's avatar
      Revamp the whole system · ef454e3e
      Karl Fogel authored
      Move the LaTeX template files and the get_revision script from OTS's
      private SVN tree to here.  Rewrite README.md.  Clean up the Makefile,
      moving all documentation into README.md removing the "VIEW=true"
      feature as discussed with James.
      ef454e3e
  16. Oct 23, 2018
  17. May 14, 2018
  18. Apr 09, 2018
Loading