dsynth - Fleshout functions
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Aug 2019 00:12:44 +0000 (17:12 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Aug 2019 00:20:51 +0000 (17:20 -0700)
commit1645cafe2e12d248b171769271df3b29f9435f8a
tree44426b7a57806c180131b3725185d2ff98c05b77
parent8e25f19b2ed644acdbb2838b45f94c3f9f6c1cbd
dsynth - Fleshout functions

* Add dynamic MaxWorker reduction based on the load.  The number of
  workers will be reduced by (load * 2 / ncpus) when the load
  exceeds (ncpus * 2.0), with a floor of min(4, MaxWorkers).

  The idea here is to reduce unnecessary swap use when building
  larger packages that push the load up greatly.

* Clean-up terminal spam after ncurses has been turned on.

* Generate fatal error if required configured directories are
  missing.

* Add -y (yes to all) option.

* Implement 'status' and 'status-everything'

* Implement 'purge-distfiles' (initial work)

* In scans that dump percentages, print 100% at the end before
  moving onto the next step.
usr.bin/dsynth/Makefile
usr.bin/dsynth/build.c
usr.bin/dsynth/config.c
usr.bin/dsynth/dsynth.c
usr.bin/dsynth/dsynth.h
usr.bin/dsynth/pkglist.c
usr.bin/dsynth/repo.c
usr.bin/dsynth/status.c [new file with mode: 0644]
usr.bin/dsynth/subs.c