Closed rnjudge closed 5 years ago
I'm interested to take this up.
@manaswinidas yeah! Go for it!
@nishakm Do I still have to follow the instructions mentioned in #449 for not getting the extra commits? To which branch should I rebase onto? I tried doing it with patch branch
but I'm still getting those extra commits. Is it because I deleted the patch branch? Can I rebase it onto the patch4 branch I created my latest pull request with?
Never mind, I found my way :sweat_smile: but do I have to do this every time:cry: ?
Never mind, I found my way 😅 but do I have to do this every time😢 ?
I hope not! 😅
If you want to set up your local fork of tern to continue to contribute, follow the instructions here: https://github.com/nishakm/puns#how-to-submit-prs-with-your-github-fork
Everytime you need to submit a new PR you create a new branch to track the upstream master branch:
git checkout -b 451-my-changes --track upstream/master
When you need to update this because of a conflict or to pull in newly merged changes, run:
git pull --rebase
I hope you don't have trouble next time around.
@nishakm you were right about this. It worked perfectly fine! Thanks :tada:
Everytime you need to submit a new PR you create a new branch to track the upstream master branch:
git checkout -b 451-my-changes --track upstream/master
Description Currently, Tern reports the SPDX
PackagetDownloadLocation
of an image layer as the docker image repotag. This does not reflect the actual download location and there is no way for Tern to pinpoint the download location of an image layer. Therefore, we should assign the SPDXPackageDownloadLocation
value as NOASSERTION in accordance with the 2.1 spec. We can also remove theget_download_location
function indocker_image.py
Implementation 1) In
tern/formats/spdx/spdxtagvalue/generator.py
, remove theregistry_repotag
variable assignment in the following lines:2) In
tern/formats/spdx/spdxtagvalue/generator.py
, hardcode thePackageDownloadLocation
value asNOASSERTION
:3) In
tern/classes/docker_image.py
remove the definition forget_download_location()
since it is not possible to get the actual location (dockerhub.io is not the actual location).References See above.