-
Notifications
You must be signed in to change notification settings - Fork 33
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
API to push artifacts to check #274
Comments
The Dash License Tool uses the standard GitLab API to create issues. If you make an issue in the correct form, it will "just work". Theoretically, we could extend the scanner to look at the staging repo for sources. We can easily add new Nexus repositories if we know the base artifacts URL. The problem with this is that the content in the staging repository isn't necessarily stable. In fact, it disappears by design. It occurs to me that the source stability problem actually extends to any content for which we pull sources from a staging server: whether the corresponding issues are automatically created or created via some API or automation. Pointing to staged artifacts that are inevitably removed is actually an antipattern. |
I understand where you are coming from, together with the issue you see. My main issue, that I want to make the acceptance by the Dash Tool a quality gate. Right now I have to release something and then I will find out if you are happy. Additionally anyone who uses our new Version for an Eclipse Porject will need to do a more or less manual step, before their project is accepted by Eclipse process for release. Just for my understanding: After an artifact is checked and deemed acceptable, I guess you will identify it later via its coordinates in a stable Repository (like Maven Central)? My main issue is, with an artifact I deploy to Maven Central:
Now I would need to add another manual step, which is only possible after the Artifact is really synced to maven central and trigger the dash process. Right now, I don't have a good idea how an acceptable solution could look like. :-( |
Yes. Random idea... If you were to create an issue that points to a commit on a GitHub repository, it will scan a snapshot based on that. e.g., IPLab will grab a ZIP of the The coordinates that we stuff into our database would be correct, but not useful enough to be reused. |
I'll note that the problem that we're trying to solve here is not "make the Dash License Tool happy", but to more generally improve the odds that any attempts to automate license scanning will be successful. Anything that you can do to make your project's license intention more consistently discoverable via automation will be a net benefit for every adopter. The IPLab scanner uses Scancode Toolkit. Scancode identifies licenses, it doesn't make any decisions. Our scanner interprets the results produced by Scancode, but doesn't do anything particularly magical or complicated. The one big optimisation that we do is take a license declaration made with an So... if you put the |
If, for example, you added a license header with an I believe that Scancode is getting fetched up on the GPL reference in this comment:
While this file does represent the GPL, it is not itself distributed under the GPL. If you express your intention unambiguously with an FYI, I've added a rule to the IPLab scanner to ignore that directory. Making good resilient rules is actually pretty hard in the general case, so this is something that we do very carefully. |
Returning back to the original request... You can create an IPLab issue with an attachment. |
Any thoughts on any of the above, @juergen-albert? |
As discussed at the EclipseCon:
We have Opensource Projects, that are no Eclipse Projects but that are used in e.g. the Eclipse Sensinact Project. Thus we are looking for a possibility to get our new Releases checked proactively during our automated release Process.
As the IP Dash takes maven coordinates to maven central we can't really use this either, because we first upload to the sonartype staging repo and the sync to maven central may take an undetermined amount of time.
Creating gitlab issue manually would be a bit annoying, so some kind of API where we can hand over our jar with the sources in it would be great.
The text was updated successfully, but these errors were encountered: