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. 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
  3. 19 Feb, 2020 2 commits
  4. 13 Feb, 2020 1 commit
  5. 31 Jan, 2020 1 commit
  6. 26 Jan, 2020 3 commits
  7. 17 Jun, 2019 2 commits
  8. 29 Mar, 2019 5 commits
  9. 27 Mar, 2019 9 commits
  10. 25 Mar, 2019 1 commit
  11. 21 Mar, 2019 8 commits
  12. 20 Mar, 2019 1 commit
  13. 17 Mar, 2019 1 commit
  14. 16 Mar, 2019 3 commits
  15. 14 Mar, 2019 1 commit