1. 09 Mar, 2020 1 commit
    • 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
  2. 27 Feb, 2020 1 commit
  3. 20 Feb, 2020 1 commit
    • juga  's avatar
      fix: Add at build time the git revion to version · 76ef2fe0
      juga authored
      Instead of having a hardcoded version, calculate the version at build
      time making use of `git describe --tags --dirty --always`.
      
      This way, even if the program is not running from inside a git
      repository it still can know which was the git revision from the
      source it was installed from.
      If the program is launched from a path that is a git repository, it
      does not gives the git revision of that other repository.
      
      If's also able to get the version when installed from a tarball.
      It does not add the git revision when it's being install from a git
      tag.
      
      `versioneer` external program is only needed the first time, because
      it copies itself into the repository. So it does not add an external
      dependency.
      
      There're no changes needed to the `--version` cli argument nor to the
      code that generates the bandwidth file, since they both use the
      variable `__version__`.
      
      The version previous to this commit was `1.1.1-dev0`, after
      this commit, it becomes `1.1.0+xx.gyyyyyyyy`, ie. xx commits after
      `1.1.0` plus the git short hash (yyyyyyyy).
      
      Closes: #30899.
      76ef2fe0
  4. 19 Feb, 2020 3 commits
  5. 13 Feb, 2020 1 commit
  6. 09 Feb, 2020 2 commits
  7. 06 Feb, 2020 1 commit
  8. 05 Feb, 2020 2 commits
    • juga  's avatar
      fix: CI: Cache pip, run tox stats after sucess · d61bfd79
      juga authored
      and do not require sudo.
      d61bfd79
    • juga  's avatar
      fix: CI: Test all supported python versions · 0939152c
      juga authored
      As in chutney and stem:
      - Test all supported python versions
      - Test all supported tor versions
      
      Differences between chutney, stem and sbws:
      - in sbws we run directly, not an script that calls tox
      - we're not using chutney for integration tests (yet) and therefore we're not testing it with different networks
      - we don't have shellcheck tests
      - we don't support osx nor windows
      
      Closes: #30067
      0939152c
  9. 31 Jan, 2020 1 commit
  10. 26 Jan, 2020 4 commits
  11. 04 Aug, 2019 1 commit
  12. 17 Jun, 2019 2 commits
  13. 29 Mar, 2019 5 commits
  14. 27 Mar, 2019 14 commits
  15. 25 Mar, 2019 1 commit