Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the GitHub Org from the git remote info #26

Closed
jayvdb opened this issue Dec 6, 2017 · 1 comment
Closed

Get the GitHub Org from the git remote info #26

jayvdb opened this issue Dec 6, 2017 · 1 comment

Comments

@jayvdb
Copy link
Member

jayvdb commented Dec 6, 2017

Split off from #1

Using travis environment variables will work in Travis, but not locally, or on other build. bad idea.

We should use git remote -v to fetch the remote name (there should be some IGitt functionality for this?), and then use https://github.com/retr0h/git-url-parse to extract the org name.

This functionality belongs in the main application, not in the gci app.

@jayvdb jayvdb changed the title Get the GitHub Org from the git info Get the GitHub Org from the git remote info Dec 6, 2017
@jayvdb
Copy link
Member Author

jayvdb commented Dec 7, 2017

This should be done in way that is re-usable ; e.g. .travis.yml currently sets COMMIT_AUTHOR_EMAIL: "nobody@coala.io" , but that domain name should also be derived. e.g. #29

jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 14, 2017
jayvdb added a commit to jayvdb/community that referenced this issue Dec 15, 2017
Implements new community.git functions in twitter and
activity modules, replacing orgname.sh

Closes coala#26
jayvdb added a commit to jayvdb/community that referenced this issue Dec 16, 2017
Implements new community.git functions in twitter and
activity modules, replacing orgname.sh

Closes coala#26
jayvdb added a commit to jayvdb/community that referenced this issue Dec 16, 2017
Implements new community.git functions in twitter and
activity modules, replacing orgname.sh

Closes coala#26
jayvdb added a commit to jayvdb/community that referenced this issue Dec 16, 2017
Replace orgname.sh with community/git.py,
which provides get_owner that is implemented
in the twitter and activity modules.

Closes coala#26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant