[tor-commits] [tor/master] practracker: add envvar TOR_PRACTRACKER_OPTIONS

dgoulet at torproject.org dgoulet at torproject.org
Tue Aug 6 11:44:19 UTC 2019


commit 223afc2d8f4fd48445c3dc30168a753075ba4959
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Aug 1 12:57:26 2019 -0400

    practracker: add envvar TOR_PRACTRACKER_OPTIONS
    
    We have Makefile.am use this to decide how to invoke practracker on
    the Tor source.
---
 Makefile.am         | 2 +-
 changes/ticket31309 | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 8eeba5edb..7ada42f9d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -371,7 +371,7 @@ endif
 
 check-best-practices:
 if USEPYTHON
-	@$(PYTHON) $(top_srcdir)/scripts/maint/practracker/practracker.py $(top_srcdir)
+	@$(PYTHON) $(top_srcdir)/scripts/maint/practracker/practracker.py $(top_srcdir) $(TOR_PRACTRACKER_OPTIONS)
 endif
 
 practracker-regen:
diff --git a/changes/ticket31309 b/changes/ticket31309
new file mode 100644
index 000000000..8e1c9f27e
--- /dev/null
+++ b/changes/ticket31309
@@ -0,0 +1,4 @@
+  o Minor features (best practices tracker):
+    - Add a TOR_PRACTRACKER_OPTIONS variable for passing arguments
+      to practracker from the environment. We may want this for
+      continuous integration. Closes ticket 31309.





More information about the tor-commits mailing list