-
Notifications
You must be signed in to change notification settings - Fork 59
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(package): add const for external reference #153
Conversation
Signed-off-by: masahiro331 <m_fujimura@r.recruit.co.jp>
4561323
to
5d97108
Compare
Hi @masahiro331, thanks for this! I'm generally agreed with adding more constants like this. That said, #146 is going to be making extensive changes to the repo, including this file. I'm expecting to merge #146 by next Wednesday if there aren't any objections. So after that PR is merged, it will likely make sense to then add these constants in the new I'll leave this open so we can track it, but I think I'd suggest doing it in that order so that this one doesn't create a new conflict for #146. Thanks! |
@masahiro331 PR #146 has been merged now... Can you help rebase the code.. I think this should now be part of: https://github.com/spdx/tools-golang/tree/main/spdx/common |
Thank you, I have just started this task. |
Awesome - i've assigned the issue to you! Thanks @masahiro331 |
Hi @masahiro331 , We have a file for this now : https://github.com/spdx/tools-golang/blob/main/spdx/common/external.go. I'd recommend branching main again and applying your changes to this file! |
Related #163, still looks like the high level categories still need some constants i.e. "PACKAGE-MANAGER" |
Hi @masahiro331 -- there was a significant refactoring in this library, are you able to adjust this PR for the changes? |
I would like to work on this. |
Should the file be moved back into the SPDX common folder? |
@neilnaveen I don't believe so -- these are already available with aliases at the top-level |
-added more const for external.go, from the PR spdx#153 Signed-off-by: Neil Naveen <42328488+neilnaveen@users.noreply.github.com>
Fixed in #188 |
Hi @masahiro331 thank you for this contribution -- it looks like most of these constants were added as part of #188 so I'm going to close this for now but please reopen if you would like some additional changes! |
When using this library, we want to use the values defined in the specification.
It would be nice if publish these consts as an official library.