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. 08 Jun, 2020 9 commits
  2. 14 Apr, 2020 4 commits
  3. 09 Apr, 2020 2 commits
  4. 09 Mar, 2020 12 commits
    • juga  's avatar
      fix: !refactor: Remove/replace unneded constant · 55302251
      juga authored
      Part of #30196
      55302251
    • juga  's avatar
      fix: v3bwfile: Reformat to don't get flake8 errors · a287ad4b
      juga authored
      Part of #30196
      a287ad4b
    • juga  's avatar
      fix: v3bwfile: !refactor, Replace constant list · d4618e8f
      juga authored
      d4618e8f
    • juga  's avatar
      fix: v3bwfile: Move keys to correct constant · 713ca6a1
      juga authored
      Part of #30196.
      713ca6a1
    • juga  's avatar
      fix: v3bwfile: Add comment about bwlines v1.3 · fa59e991
      juga authored
      Part of #30196.
      fa59e991
    • juga  's avatar
      fix: v3bwfile: !refactor, Reorder header constants · e9182a41
      juga authored
      by version.
      
      Part of #30196.
      e9182a41
    • 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, Replace constant · ed24b53d
      juga authored
      Replace HEADER_INIT_KEYS constant KeyValues with other constants
      created in the previous commit.
      
      Part of #30196.
      ed24b53d
    • juga  's avatar
      fix: v3bwfile: !refactor, replace constants · 27e2112a
      juga authored
      - Add new KeyValues constants
      - Remove HEADER_KEYS_V1X constant, only used once
      - Replace HEADER_UNORDERED_KEYS with the new constants
      
      Part of #30196.
      27e2112a
    • juga  's avatar
      fix: v3bwfile: Add constant for ordered key/values · 017c7c10
      juga authored
      to build the list of all keys from it and ensure no key is missing.
      017c7c10
    • juga  's avatar
      fix: v3bwfile: Reformat to don't get flake8 errors · be0c5ea4
      juga authored
      After the automatic constants renaming, fix the flake8 errors by
      reformatting automatically with `black`, only the lines that had
      errors.
      
      Part of #30196
      be0c5ea4
    • 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
  5. 17 Jun, 2019 1 commit
  6. 29 Mar, 2019 1 commit
    • juga  's avatar
      fix: v3bwfile: Use bytes to compare bandwidth sum · 4adb743f
      juga authored
      Use bytes to compare the sum of scaled bandwidth (in KB) with the
      sum of the consensus one (previously converted to Bytes measured.
      Also:
      - Check that the bandwidth attribute exists, since it was not
        stored in older versions.
      - Do not sum the bw=1 as a result of the relays being unmeasured.
      - Calculate the percentage difference as two difference values.
      - Log which were actually the bandwidth sums.
      4adb743f
  7. 27 Mar, 2019 4 commits
  8. 21 Mar, 2019 5 commits
  9. 17 Mar, 2019 1 commit
  10. 14 Mar, 2019 1 commit