-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
Replace cherrypy.lib.lockfile with zc.lockfile. #1729
Conversation
f46c628
to
3e4917f
Compare
@@ -564,8 +571,9 @@ def acquire_lock(self, path=None): | |||
|
|||
def release_lock(self, path=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a path arg here looks weird to me: it's not used anywhere.
CHANGES.rst
Outdated
v17.3.0 | ||
------- | ||
|
||
* :issue:`1193`: Rely on zc.lockfile for session concurrency |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
via :pr:`1729`
it helps a lot when I'm trying to verify things
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll do it this time, but I'm really disinclined to do this extra work in general and here's why: Usually, the user wishes to know the "why" of a change (the issue) and is less interested in the "how", so the issue number is usually more relevant. Moreover, the PR number is often not known at the time the PR is submitted, so requires a two phase process - commit changes, create PR, commit more changes. I want to avoid adding extra steps. As long as the changelog gives a link to a relevant issue (preferably the most relevant issue), it's a small matter from there to see the other activity that's linked, including PRs. I don't want to recommend or ascent to manual processes that replicate information that's readily available through automatic processes. I will sometimes link to a PR when there's no issue present or if that PR is somehow not readily reachable from the issue, but my preference is to link to one issue and let an investigator trace that to the PR with one extra click.
Codecov Report
@@ Coverage Diff @@
## master #1729 +/- ##
=========================================
- Coverage 80.89% 80.8% -0.09%
=========================================
Files 105 104 -1
Lines 13597 13525 -72
=========================================
- Hits 10999 10929 -70
+ Misses 2598 2596 -2 |
I hope this change addresses #1193. Presumably supersedes #1705.