GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  1. 09 Apr, 2020 1 commit
  2. 09 Mar, 2020 2 commits
    • juga  's avatar
      fix: v3bwfile: Add tor_version KeyValue · 6843145a
      juga authored
      - Create new KeyValues constants for the new v1.5.0 KeyValues
      - Instanciate State in Header.from_results so that there is no need
        to create new methods for all the header KeyValues that are read
        from the state file
      - Add tor_version to the kwargs to initialize the Header
      - Write tor_version in the state file when the scanner is started
      
      Closes: #30196.
      6843145a
    • juga  's avatar
      fix: v3bwfile: !refactor, Rename constants · 7b767465
      juga authored
      Rename constants to make their names more consistent with each other.
      All header constants start now by HEADER_ and all Bandwidth Lines by
      BWLINE_.
      The constants that are a list of keys are now named KEYS instead of
      KEY_VALUE or KEY_VALUE.
      
      These are the substitutions made:
      
      s/BW_KEYVALUE_SEP_V1/BWLINE_KEYVALUES_SEP_V1/
      s/BW_KEYVALUES_BASIC/BWLINE_KEYS_V0/
      s/BW_KEYVALUES_FILE/BWLINE_KEYS_V1_1/
      s/BW_KEYVALUES_EXTRA_BWS/BWLINE_KEYS_V1_2/
      s/BANDWIDTH_LINE_KEY_VALUES_MONITOR/BWLINE_KEYS_V1_4/
      s/BW_KEYVALUES_EXTRA/BWLINE_KEYS_V1/
      s/BW_KEYVALUES_INT/BWLINE_INT_KEYS/
      s/BW_KEYVALUES/BWLINE_ALL_KEYS/
      s/EXTRA_ARG_KEYVALUES/HEADER_KEYS_V1X/
      s/STATS_KEYVALUES/HEADER_KEYS_V1_2/
      s/BW_HEADER_KEYVALUES_RECENT_MEASUREMENTS_EXCLUDED/HEADER_RECENT_MEASUREMENTS_EXCLUDED_KEYS/
      s/BW_HEADER_KEYVALUES_MONITOR/HEADER_KEYS_V1_4/
      s/BANDWIDTH_HEADER_KEY_VALUES_INIT/HEADER_INIT_KEYS/
      s/KEYVALUES_INT/HEADER_INT_KEYS/
      s/UNORDERED_KEYVALUES/HEADER_UNORDERED_KEYS/
      s/ALL_KEYVALUES/HEADER_ALL_KEYS/
      
      Part of #30196
      7b767465
  3. 27 Mar, 2019 3 commits
    • juga  's avatar
      fix: tests: Replace str by int · 9b054bad
      juga authored
      when setting vote and unmeasured Keys.
      It doesn't matter here because there're not operations with the
      Keys and they're always converted to string in the bandwidth file,
      but it less confusing as integer.
      9b054bad
    • juga  's avatar
      fix: tests: Add set_under_min_report · 73c0b68e
      juga authored
      to test that the `under_min_report` KeyValue is added when the
      number of eligible relays is less than the 60% of relays in the
      consensus.
      73c0b68e
    • juga  's avatar
      fix: tests: Change torflow_scale to continue scaling · 7a9a9e08
      juga authored
      even if the minimum percent was not reach.
      
      Closes: #29853.
      7a9a9e08
  4. 21 Mar, 2019 5 commits
  5. 17 Mar, 2019 1 commit
  6. 13 Mar, 2019 3 commits
  7. 28 Feb, 2019 2 commits
  8. 21 Dec, 2018 2 commits
    • juga  's avatar
      tests: adjust torflow scale values · 6875f8ae
      juga authored
      Since the data for the tests and the torflow scaling method was
      changed in #bug28598, ajust the values after merging #28602.
      6875f8ae
    • juga  's avatar
      generate: use round_digs variable name in methods · c57ba63e
      juga authored
      The torflow-round-digs cli argument was kept, but it was added
      other argument, round-digs, for the same option.
      argparse takes the first argument as the variable name, but the
      methods where still using torflow_round_digs.
      
      Closes bug #28602. Bugfix 1.0.3-dev0.
      c57ba63e
  9. 03 Dec, 2018 1 commit
  10. 23 Nov, 2018 2 commits
  11. 21 Nov, 2018 2 commits
  12. 15 Nov, 2018 4 commits
  13. 08 Nov, 2018 2 commits
  14. 26 Oct, 2018 2 commits
    • juga  's avatar
      Rename bandwidth variables removing "bs" · 79693446
      juga authored
      It was added to know which variables are in Bytes, but it's not
      clear and it should be the default unit when it's not specified.
      79693446
    • juga  's avatar
      Rename key/values in the header · c16d966f
      juga authored
      "measured" could be interpreted as if it was only those relays
      that were measured, when i means the relays that were measured and
      pass certain restrictions.
      "eligible" means the measured relays that would be include in
      the bandwidth file.
      c16d966f
  15. 23 Oct, 2018 2 commits
  16. 18 Oct, 2018 1 commit
  17. 13 Sep, 2018 5 commits