summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup the retired repoHEADmasterGhanshyam Mann2020-08-051-0/+4
| | | | | | | | | | | | This repo is not properly retired. Retired repos can only have two files: - README.rst - gitreview To cleanup the retirement of this repo, keeping these two files only and removing the other remaining files if there is any. Detail: https://etherpad.opendev.org/p/tc-retirement-cleanup Change-Id: I83df72500e3646d9a8edbb663246817759168d07
* Farewell pylockfileChangBo Guo(gcb)2017-09-3021-1984/+9
| | | | | | | | We need remove all of the files except the README as required by: https://docs.openstack.org/infra/manual/drivers.html#step-2-remove-project-content Depends-On:I4501bc69b6d6b60894008a796d2888ac52bec252 Change-Id: I2cfeaa7fabd16c43e1301560bb2b71c8b98d49e2
* Remove oslo.concurrency from replacement recommendationJoshua Harlow2016-03-172-4/+3
| | | | | | | | | | | | | | Oslo libraries (especially those prefixed with oslo) are really better suited for usage inside openstack, while libraries from oslo without that prefix are better suited for all around general usage so to avoid confusion take off the recommendation to replace pylockfile with oslo.concurrency and just leave the better matched fasteners as its replacement. Also fixes a very tiny flake8 warning that was stopping the pep8/flake8 job from working. Change-Id: I1ec1cbfb4c7e371ed93627cffa2b32dbe0401069
* py32/py33 are no longer supported by Infra's CIjanonymous2015-12-261-1/+1
| | | | | | | | Python 3.2/3.3 support would be dropped by Infra team from mitaka,CI would no longer be testing it, so projects should drop it also. Change-Id: I3bdf7d052f744198e983ddedd6b5a41f24442925
* Rewrite README fileVictor Stinner2015-11-261-24/+32
| | | | | | | | | | | | | | | | * reorder sections * add missing links on fasteners, oslo.concurrency and openstack-dev * use ".. warning::" warning for the deprecation * use reStructured Text syntax for the Documentation, Source and Bugs links * use ``code markup`` for code * Replace installation command "python setup.py install" with "pip install lockfile": pip is now prefered in 2015 and the command gives the PyPI name of the project (which is not obvious, I would expect "pylockfile", not "lockfile") * fix other reStructured Text syntax errors Change-Id: I386b9aa31b3c79589fe4d93f722aeccb3a8577ef
* Add warning to README.rst0.12.2Davanum Srinivas2015-11-251-0/+6
| | | | Change-Id: I567f067949d0af1c462c074cc982ef7c943ef4cd
* Merge "Remove Python 2.6 classifier"Jenkins2015-11-231-1/+0
|\
| * Remove Python 2.6 classifierChangBo Guo(gcb)2015-11-171-1/+0
| | | | | | | | | | | | | | | | We have decided to remove Python 2.6 support, this commit removes Python 2.6 classifier before dropping any Python 2.6 support in code. Change-Id: I7f655bcfb59ab7b32274e403837c88956a8a7e1b
* | Merge "Remove two unused variables: fix flake8 F841 warn"0.12.10.12.0Jenkins2015-11-172-3/+0
|\ \
| * | Remove two unused variables: fix flake8 F841 warnVictor Stinner2015-10-222-3/+0
| | | | | | | | | | | | | | | | | | Fix flake8 F841 warning and enable this warning in tox.ini. Change-Id: Ia21f94bb5e264542a26d8b5327be1df35089b065
* | | Merge "Fix flake8 warnings"Jenkins2015-11-179-68/+88
|\ \ \ | |/ / | | / | |/ |/|
| * Fix flake8 warningsVictor Stinner2015-10-229-68/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove unused imports * Add empty lines to respect the PEP8 * Sort imports * Replace "timeout/10" with "timeout / 10" (add spaces) * Fix style of comments * Remove trailing spaces * test_lockfile.py: add "# noqa" on the sqlite3 import, the import is used to decide if we skip the test or not * tox.ini: enable all warnings except F841 (which will be fixed later) Change-Id: I8218785f5cea23532357ec1756a3ab2255880d74
* | Remove python 2.6Davanum Srinivas2015-11-161-1/+1
| | | | | | | | | | | | * Remove support for python 2.6 Change-Id: I1a8d43811afabc4deb080722f2fa4c93d04dbf1e
* | Merge "Support universal wheels"Jenkins2015-10-231-0/+3
|\ \
| * | Support universal wheelsThomas Grainger2015-10-161-0/+3
| |/ | | | | | | | | Change-Id: I9d310b14ab501423207e790ab200318ba8937a3d Closes-Bug: #1506677
* | PBR setup requirement onlyThomas Grainger2015-10-224-9/+5
|/ | | | | Change-Id: Ifcf7227bc14e8d74e0cd8423c127464b8fd8064a Closes-Bug: #1506679
* Add deprecated warnings to index.rst0.11.0Joshua Harlow2015-09-241-0/+12
| | | | Change-Id: Ic047537109923980f7b02290879063b1928635c1
* Fix PIDLockFile.acquire() may loop indefinitelyDavanum Srinivas2015-09-071-2/+2
| | | | | | | | | end_time takes timeout into account, so when time.time() does hit the end_time, we should check if timeout was set or not and throw either LockTimeout or AlreadyLocked. Closes-Bug: #1472101 Change-Id: I1f369628e765a173ff0cafd01c31eca725b41cae
* Fix failure - from lockfile import *Davanum Srinivas2015-09-071-1/+1
| | | | | Closes-Bug: #1491570 Change-Id: I5f065efae6faa88306455383de3c0515b64e5d44
* lockfile.acquire doesn't accept a timeout of 0Davanum Srinivas2015-09-075-5/+5
| | | | | | | | | | | | | | | | Docs indicates that lock.acquire(timeout=0) would not block, but it does (for linklockfile) because 0 is not truthy, and the line: timeout = timeout is not None and timeout or self.timeout when timeout is 0 causes it to default to self.timeout, which by default is None. So rewrite the condition better to take into account that timeout may be set to 0. Closes-Bug: #1468124 Closes-Bug: #1419127 Change-Id: Idf0d00977e79661e1eafd695d6e148e5f27e1840
* Update README format for our release scriptDoug Hellmann2015-01-292-6/+5
| | | | | | | | The release notes script Oslo uses depends on being able to find information in the README.rst file using a regex, so update the contents of the file to match that pattern. Change-Id: Idef33f0438263f7ca4d596b66a36bbe260b53dd4
* Merge "Begin moving some of the common code to a shared base"Jenkins2014-12-041-39/+48
|\
| * Begin moving some of the common code to a shared baseJoshua Harlow2014-10-271-39/+48
| | | | | | | | | | | | | | | | | | | | To enable the addition of a new lockfile impl that has some of the similar functionality as the existing impls in pylockfile we need to break out what will be shared and what will not be shared by the existing impls and the soon to be added new impl. Change-Id: I3fddfb05b78657ebed1449f0389004061e7e7082
* | Merge "Fix Git URLs"Jenkins2014-11-141-2/+3
|\ \ | |/ |/|
| * Fix Git URLsJulien Danjou2014-10-031-2/+3
| | | | | | | | Change-Id: I0d68ab9b2ed8136e83e0f53c5b9fb66bc1b9747e
* | Add pbr to dependency listJoshua Harlow2014-10-272-0/+6
| | | | | | | | | | | | | | | | | | | | Currently pbr is breaking markup safe usage in docs, the not so obvious way to fix this is to place pbr in the explicit requirements for pylockfile. Closes-Bug: #1384919 Change-Id: I0bba2f28956aeeb70b1e15f82d6bb67fdbd49118
* | The version of sphinx being brought in is brokenJoshua Harlow2014-10-171-1/+1
|/ | | | | | | | | The global requirements repo has blocked 1.3b1, so in order for pylockfile builds to stop failing so should we. In the future we should investigate why the requirements aren't syncing for this repo. Change-Id: I8a999cc044d3687cc410b56b1db490e38b9b9a50
* Fix package name0.10.2Julien Danjou2014-09-191-1/+1
| | | | | Change-Id: I4f87ded18d0e89db5feab16d5fcbf16c70fcc598 Signed-off-by: Julien Danjou <julien@danjou.info>
* Add missing cover env in tox0.10.1Julien Danjou2014-09-183-430/+9
| | | | Change-Id: Ib7b62c062e45203378a9a30f6698480ba87f1106
* Fix documentation bug report address0.10.0Julien Danjou2014-09-171-2/+2
| | | | Change-Id: I28e119f8264c56b46e364836f2fcbf72e0f91a7f
* Add py34 in toxJulien Danjou2014-09-171-1/+1
| | | | Change-Id: I1f544d120cabd3cde47e2cf09b70928e2e675c05
* Remove old diff fileJulien Danjou2014-09-171-99/+0
| | | | Change-Id: Id493c1c1a29ac592a6ab0c32feb1fc8d992b7ecd
* Add .gitreview, tox targets and use pbrJulien Danjou2014-09-1013-108/+105
| | | | Change-Id: I9360c3ea4354f296039e11b09cb4e3b0771f87b4
* Merge pull request #3 from cizra/issue-20Skip Montanaro2014-05-021-3/+12
|\ | | | | Bugfix: locking two different files in the same directory caused an error during the last unlocking
| * Bugfix: locking two different files in the same directory caused an error ↵Elmo Todurov2013-08-271-3/+12
| | | | | | | | during unlocking the last unlocking
* | fix for timeout=0Skip Montanaro2013-08-276-5/+15
| |
* | remove 2.5, 3.1 and 3.4 from the list for the time being - may get added ↵Skip Montanaro2013-08-271-3/+1
| | | | | | | | back later
* | typoSkip Montanaro2013-08-261-1/+1
| |
* | ignore dist dir0.9.1Skip Montanaro2013-08-251-0/+1
|/
* update to python 3 importsSkip Montanaro2013-02-241-6/+7
|
* python 3 tweaksSkip Montanaro2013-02-241-0/+5
|
* python 3 tweaksSkip Montanaro2013-02-241-3/+3
|
* ignore Emacs backupsSkip Montanaro2013-02-241-0/+1
|
* note nose as a dependencySkip Montanaro2013-02-241-0/+1
|
* remove this test file - way incompatible with current codeSkip Montanaro2013-02-241-633/+0
|
* stuff to ignoreSkip Montanaro2013-02-231-0/+2
|
* Add py33, py34, delete py24, py25.Skip Montanaro2013-02-231-1/+3
|
* Update source location.Skip Montanaro2013-02-061-2/+2
|
* merge deleteskip.montanaro2011-04-131-185/+0
|
* merge deleteskip.montanaro2011-04-131-19/+0
|