Comments (5)
Totally open to the possibility. We'd want to behavior to be persistent on a given machine. Since in the new script, its actually fired by a stub script in each repo, an easier way to do this would be to have the main lib/lolcommit.rb
library check for environment variables at runtime to modify it's behavior. I was already thinking of having one like that for the destination directory to store files, so that structure makes sense.
I can hack this up sometime next week, or if you want to take a stab at it, go for it!
from lolcommits.
So since 81eb3bf you can do lolcommits --capture --delay 2
you can however not yet delay the automatic commit. I tried to access the Choices hash from inside the do_enable
method, this didn't seem to work however. Might need to dive into the Choice gem. Maybe you know a way to fix this @mroth ?
(In order for it to work the hook which get's written to the post-commit file needs to include --delay x instead of just --capture.)
from lolcommits.
I've got an idea, will try to implement this weekend.
from lolcommits.
okay, I think that should do it, let me know if it works for you.
from lolcommits.
closing as fixed in 0.0.2
from lolcommits.
Related Issues (20)
- Include Geo location in the image metadata HOT 1
- --fork results in error with magit (emacs porcelain) HOT 2
- MiniMagick::Error - mogrify: non-conforming drawing primitive definition `path' HOT 10
- Require plugin gems from lolcommits HOT 1
- Consider releasing a 1.0.0 HOT 5
- Works but never exits HOT 17
- lolcommits fails to capture image on linux HOT 9
- Transfer this repository to the lolcommits organisation HOT 8
- Fork app commit process hangs with lolcommits enabled HOT 12
- lolcommits --devices no longer works HOT 2
- macOS 10.15 will not ship with with Ruby
- No video devices found after upgrading to catalina (OSX 10.15) HOT 7
- Linux webcam resolution HOT 4
- Terminates with error "`encode': wrong number of arguments" HOT 8
- Ability to replace the hash with a date
- Commits doesn't trigger snapshot
- lolcommits dosen't skip capture when rebasing HOT 2
- Can we release a new version HOT 4
- Availability of Apple Silicon support (arm64) HOT 1
- v0.16.4 has `undefined method rm_f' for File:Class (NoMethodError)` error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lolcommits.