- 21 Mar, 2020 2 commits
-
-
juga authored
-
-
- 09 Mar, 2020 27 commits
-
-
juga authored
-
juga authored
-
juga authored
-
juga authored
-
juga authored
Part of #30196
-
juga authored
Part of #30196
-
juga authored
-
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.
-
juga authored
to build the list of all keys from it and ensure no key is missing.
-
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
-
juga authored
This test does not pass in this commit, but in the next bugfix.
-
juga authored
since the logic is the same and the there were two bugfixes on the same logic.
-
juga authored
by default days is passed to timedelta, what was making the oldest date be thousands of days in the past. Bugfix 1.1.0.
-
juga authored
Tests don't pass in this commit, they're fixed in the next commits.
-
juga authored
to be able to unit test all the code that needs a controller.
-
juga authored
Tests don't pass in this commit, it's fixed in the next commits.
-
juga authored
by default days is passed to timedelta, what was making the oldest date be thousands of days in the past.
-
juga authored
Old timestamps are minor than the older date, not major.
-
juga authored
-
juga authored
The tests don't pass in this commit, it's fixed in the next ones.
-
- 28 Feb, 2020 1 commit
-
-
juga authored
-
- 27 Feb, 2020 1 commit
-
-
juga authored
-
- 20 Feb, 2020 1 commit
-
-
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.
-
- 19 Feb, 2020 4 commits
- 13 Feb, 2020 2 commits
- 09 Feb, 2020 2 commits