haaksmash / flowhub Goto Github PK
View Code? Open in Web Editor NEWBased on git-flow, but with GitHub.
Based on git-flow, but with GitHub.
Right now it's just just fluff for running any command for the first time.
At the least, the config prompts should be pulled into their own function - they're not really part of any authing
Provides tests for the dicts module and adds a few features/fixes while we're at it.
so that you can skip the release branch phase if you really want to
No description provided.
No description provided.
since it expects a parent.
right now you'll PR into the release branch if one exists. Not good!
As opposed to measure-by-measure. Need to bring this up with the VP's.
I think this is because you can abstain from the ballot, and that doesn't get us closer to quorum? Hard to say.
There should be a feature accepted
command that deletes branch heads from the named or current feature, returning you to the develop branch.
That way we don't have to hunt around for it.
No description provided.
The user has to manually rm their .git/conf.lock if anything happens - say, they type their password in incorrectly. That's a pain in the ass.
No description provided.
right? i think it's better style to use stdout...
hah of course as soon as i decide it's been lost to the sands of time the issue returns:
see #14 for a full traceback. I think this is a bug outside of flowhub's control:
> flowhub feature accepted
Caught exception:
AssertionError - len(["40c05e7277e2f48c1de91249e77beb90e03a6c47\t\tbranch 'feature/14-double-trouble' of https://github.com/haaksmash/flowhub\n", "9e3763c0319a5260211f5582c1211bf0c608c73a\tnot-for-merge\tbranch 'develop' of https://github.com/haaksmash/flowhub\n", "f5bb658bb9340585b40b73b6ad956d8b4bcffaf9\tnot-for-merge\tbranch 'master' of https://github.com/haaksmash/flowhub\n"]) != len(['POST git-upload-pack (961 bytes)', ' = [up to date] feature/14-double-trouble -> origin/feature/14-double-trouble', ' a49c9fc..9e3763c develop -> origin/develop', ' = [up to date] master -> origin/master'])
No description provided.
in particular, GitLab (which I've been using for my own projects recently)
That is, the --no-gh switch should be honored.
For example, if there's a problem pushing tags during release publish
, you should be able to continue by saying release publish
again.
Most functions in Engine don't have any docstrings; this should be amended. They don't have to be super intense, just adequate.
e.g.,
GithubException - 422 {u'documentation_url': u'https://developer.github.com/v3/pulls/#create-a-pull-request', u'message': u'Validation Failed', u'errors': [{u'message': u'No commits between develop and feature/bump-gitpython', u'code': u'custom', u'resource': u'PullRequest'}]}
Should just be surfaced as "whoops, looks like you don't have any commits to publish"
Maybe default to ones assigned to you, and with a flag for ones that aren't assigned to anyone?
This represents an entirely new way to organize flowhub's internals. That's a little scary, yes -- but remember, flowhub needs to be testable. This (LARGE) change makes it emininently more unit-test friendly (PS - think about switching from unittest to testify), and paves the way for better separation of concerns and extensions.
Release, hotfix, and feature critical dealios all appear to work (though i've been having some trouble with mock behaving properly, so who's to say for sure). Flowhub is creating this pull request, for what it's worth :)
No description provided.
Prefix: collab/<original-branch-identifier>/<collab-branch-name>
which pull-requests into the original branch, rather than develop. very similar to feature branches.
exits with the error 'Section' object has not attribute 'prefix'
To reduce accidental duplicated effort, it makes sense for one person starting a feature based on an issue to either assign that issue to themselves or leave a comment saying they're working on it.
This would obviously need a flag to turn off; --no-claim
, for example? the default should be to claim.
lol
I like it better than unittest...
Right now, they're unilaterally applied to develop
We should figure out a different way. maybe adding release-contribute/
and hotfix-contribute/
as prefixes to contribution branches?
then release/hotfix contribute
can take a branch name as an optional argument and if provided create a new branch with the proper prefix.
writes tests for the dicts module and implements some features/fixes while we're at it.
> flowhub release start 1.1.0
Summary of actions:
- New branch release/1.1.0 created, from branch develop
- Pushed release/1.1.0 to origin
- Checked out branch {}
that last {}
should probably be getting interpolated with release/1.1.0
.
When release publish
is run, you have to input your github password three times. that's at least two times too many, and maybe more times too many than that.
We should see if there's a way to reduce the number of password-entries required, or provide a utility that auto-auths (via public key, for example)
Right now we kinda leave the user hanging - just printing the exception and exiting. We can do better than that, especially since some exceptions have very clear causes.
flowhub release branch
or something.
Then it does a fetch and branches off the head of canon's release if available. Errors if no release found?
Probably do a similar thing for hotfixes - separate issue, though
The last release introduced some untested functionality (which just goes to show that we really ought to be testing more than we are, which is to say "at all"). On the list:
there's a string inside a function call without a format, resulting in a {}
being written to the git config file globally. That's messed up.
There's also a config file race condition due to overzealous re-initialization of the config writer.
Among other things, but those are the most important.
something like
flowhub pullrequest [--from <source-branch-name>] <target-branch-identifier>
for arbitrary pull-requesting from the command line.
Right now, the engine has command liney things going on; these should all be split out and moved to core. The engine should be a normal object whose methods the core happens to utilize.
Rather than having to specify the entire name, should only have to specify enough of the name that it is uniquely determinable. If it isn't unique-determining, show the branches that are matched:
> flowhub feature work tank
Possible branches:
feature/tank_top_wars
feature/tanks_on_top
> flowhub feature work tanks
Switched to feature/tanks_on_top
Related to #7
Maybe we should offer to set up a public key for the user, so that they don't have to enter their passwords so many times?
we're pretty merge happy atm; features are often rebased onto development before being landed.
That handles putting things into paths and whatnot.
Apparently, I spoke too soon.
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.