poeml / withlock Goto Github PK
View Code? Open in Web Editor NEWA locking wrapper script.
A locking wrapper script.
Reported by adamw.android, Apr 24, 2015
Migrated from Google Code issue tracker
poeml, 2015-06-14
https://code.google.com/p/withlock/issues/detail?id=2
The Apache license states:
"4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
You must give any other recipients of the Work or Derivative Works a copy of this License;"
it doesn't actually require you as the original distributor to include a copy of the license, but by not including one, it makes things inconvenient for anyone who wants to redistribute withlock - we have to source a copy of the license and include it ourselves.
I'm filing this issue as I'm packaging withlock for Fedora. Fedora's policy on licensing stuff states:
"In cases where the upstream has chosen a license that requires that a copy of the license text be distributed along with the binaries and/or source code, but does not provide a copy of the license text (in the source tree, or in some rare cases, anywhere), the packager should do their best to point out this confusion to upstream. This sometimes occurs when an upstream project's only reference to a license is in a README (where they simply say "licensed under the FOO license"), on their website, or when they simply do not check a copy of the license into their Source tree. Common licenses that require including their texts with all derivative works include ASL 2.0, EPL, BSD and MIT. Packagers should point out to upstream that by not including a proper full license text, they are making it difficult or impossible for anyone to comply with their desired license terms."
https://fedoraproject.org/wiki/Packaging:LicensingGuidelines#License_Text
migrated from Google Code issue tracker
poeml, 2015-06-15
https://code.google.com/p/withlock/issues/detail?id=1
Reported by bmwiedemann, Feb 20, 2014
What steps will reproduce the problem?
l=test.lock ;
withlock -w100 $l "date +%s; sleep 0.3" & sleep 0.2 ;
withlock -w100 $l "date +%s; sleep 5" & sleep 0.5 ;
withlock -w100 $l "date +%s; sleep 5" ; wait
What is the expected output? What do you see instead?
expected: lock should prevent things from running at the same time.
actual: 2nd and 3rd call run in parallel
What version of the product are you using? On what operating system?
all affected (on openSUSE-12.3 among others)
Please provide any additional information below.
also filed at https://bugzilla.novell.com/show_bug.cgi?id=864785
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.