Comments (9)
👍 this would be a very good idea, just with the first thing that comes to mind that would make possible to do an easy and very efficient watcher with just one git status
on the background.
from gulp-git.
PR's welcome
from gulp-git.
Ok I'll give it a go this next week.
from gulp-git.
WTH... I'll do it today
from gulp-git.
@stevelacy @BobbyKostadinov I would have been very easy but I've become greedy haha.
From my fork lib/status.js
The thing is, are we going to just plug the git status
output to a callback
and/or stdout
? Or should it be a stream
?.
If there is something one can do here is create a pipeline on the way of gulp.src
. There is no need for globs here, just plain files running through
. What do you think? Should I leave my little green bag aside and just plug there the the output, or not? Is just that seems pretty weird to parse the git status
(because what is the point then) and don't pass it as a stream.
from gulp-git.
Create it in the way of: https://github.com/stevelacy/gulp-git/blob/master/lib/rm.js
And return the status to gutil.log.
We first had all functions as through2 streams, but broke it out due to not needing streams or gulp.src for the functions.
from gulp-git.
Ok, I see. Log the buffer and pass the stream.
Thanks!
from gulp-git.
Actually before you start on it, is there a need for the stream?
Calling git.status() in a task should just log the status as is, without needing to pipe to a stream.
That would make it easier to construct, similar to this: https://github.com/stevelacy/gulp-git/blob/master/lib/reset.js
from gulp-git.
Haha, there is really no need for a stream. I'll experiment with the idea separately and let you now. Simpler is better. This is just me feeling guilty about having valuable information and not doing something with it. I'll log the stdout
status.
Talk you soon.
from gulp-git.
Related Issues (20)
- Get current branch name? HOT 2
- git add is broken in Node 8 HOT 1
- git.add does not allow for specified files to add in another cwd HOT 4
- gulp-git breaks in Node 9.5.0. HOT 3
- Error creating commit on new git version HOT 20
- Error: i can't commit HOT 2
- How to use git clone with ssh HOT 2
- How to clone with a specified branch? HOT 5
- commit() will commit also unstaged files HOT 2
- Git add . all files HOT 2
- Cannot use '-a' anymore for commit HOT 4
- how can I checkout a file HOT 1
- stdout maxBuffer length exceeded (diff.js) HOT 1
- Problem with absolute path or Gulp v4
- Cherry-pick - feature request HOT 1
- finish event listener registration error
- Gulp 4 compatibility HOT 1
- Add rebase command HOT 2
- "The command line is too long." on `git.add()` HOT 1
- lodash.template critical vulnerabilities from Mend HOT 1
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 gulp-git.