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

Add support for Travis/GitHub to not require API key #31

Open
jirutka opened this issue May 16, 2014 · 6 comments
Open

Add support for Travis/GitHub to not require API key #31

jirutka opened this issue May 16, 2014 · 6 comments

Comments

@jirutka
Copy link
Contributor

jirutka commented May 16, 2014

Some plugins like coveralls-maven-plugin don’t need an API key when running on Travis CI and the project is hosted on GitHub. I don’t know how exactly it’s implemented (using some GitHub token?), but it’s very convenient.

@jirutka
Copy link
Contributor Author

jirutka commented Nov 29, 2014

ping @reiz

@reiz
Copy link
Member

reiz commented Nov 30, 2014

That works via a GitHub Hook. I will think about that, how to implement that for VersionEye.

@reiz
Copy link
Member

reiz commented Nov 30, 2014

@jirutka Via a GitHub Hook it would be possible to trigger a check on VersionEye. The HTTP POST request would only send the project id, thats enough if the project at VersionEye is hooked with a project at GitHub. Than VersionEye can verify from which repository the hook is coming from.

But that will not work for the Maven Plugin, or Gradle Plugin. Simply because these plugins are executed locally and VersionEye has no information about your local environment and can not verify your identity.

@jirutka
Copy link
Contributor Author

jirutka commented Dec 2, 2014

Indeed, user must provide API key when executing VersionEye locally, but it should not be required while executing on Travis CI. The coveralls-maven-plugin works exactly like that.

@fhermeni
Copy link

Hi

I am also interested in have a solution for that issue. This prevents me to use versioneye completely.
Currently, I can only watch my master pom.xml. The weird thing is that there already exists a standard maven plugin to list the outdated dependencies:

$ mvn versions:display-dependency-updates

@reiz
Copy link
Member

reiz commented Jun 30, 2016

@jirutka @fhermeni The current version of the plugin is looking for the API key in the environment variable VERSIONEYE_API_KEY. That way you don't have to store the API key in the git repository. Is that acceptable for you guys?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants