Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reject 0.2.9 and 0.4.0 in dirserv_rejects_tor_version() #1586

Closed
wants to merge 3 commits into from

Conversation

neelchauhan
Copy link
Contributor

No description provided.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 7431

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • 13 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.02%) to 62.977%

Files with Coverage Reduction New Missed Lines %
src/feature/dirauth/shared_random.c 4 85.0%
src/feature/dirauth/dirvote.c 9 64.85%
Totals Coverage Status
Change from base Build 7417: -0.02%
Covered Lines: 49483
Relevant Lines: 78573

💛 - Coveralls

// new enough to be supported
{ "Tor 0.3.5.7", false },
{ "Tor 0.3.5.8", false },
{ "Tor 0.4.0.1-alpha", false },
{ "Tor 0.4.1.5", false },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add test cases for the current releases 0.4.2 and 0.4.3.

if (tor_version_as_new_as(platform,"0.3.0.0-alpha-dev") &&
!tor_version_as_new_as(platform,"0.3.5.7")) {
/* Series between Tor 0.3.6 and 0.4.0 inclusive are unsupported. Reject
* them. */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's document what actually happened to 0.3.6.

Suggested change
* them. */
* them. 0.3.6.0-alpha-dev only existed for a short time, before it was renamed to 0.4.0.0-alpha-dev. */

/* Series between Tor 0.3.6 and 0.4.0 inclusive are unsupported. Reject
* them. */
if (tor_version_as_new_as(platform,"0.3.6.0-alpha-dev") &&
!tor_version_as_new_as(platform,"0.4.1.1-alpha")) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also decide if we want to reject 0.4.1 alphas and rcs.

@ghost ghost closed this May 25, 2021
@ghost ghost deleted the branch torproject:master May 25, 2021 12:56
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants