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

Created the license v exception #496

Merged
merged 2 commits into from
Aug 24, 2023
Merged

Conversation

BassCoder2808
Copy link
Contributor

@BassCoder2808
Copy link
Contributor Author

@rtgdk have made all the changes and fixed the conflicts, ;let me know if anything else needs to be done in this

@rtgdk
Copy link
Collaborator

rtgdk commented Aug 24, 2023

@BassCoder2808 Can you please close #492, let's not keep duplicates open if conflicts are resolved in new one ??

request.POST["xmlText"],
license_obj.text,
license_obj.isException,
is_ns,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's continue to pass arguments by name so that order doesn't get messed up when adding more args. It's always better and clearer to pass args by name.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's pick all these nits later. @BassCoder2808 , merging it

@@ -108,6 +109,11 @@ def submitNewLicense(request):
licenseName = form.cleaned_data['fullname']
licenseIdentifier = form.cleaned_data['shortIdentifier']
licenseOsi = form.cleaned_data['osiApproved']
isException = form.cleaned_data['isException']
if isException == "False":
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if the value given is false? Use it like
isException.lower() == "true" then true else false instead

@rtgdk
Copy link
Collaborator

rtgdk commented Aug 24, 2023

@BassCoder2808 Please resolve the conflict

@BassCoder2808
Copy link
Contributor Author

Resolved

@rtgdk rtgdk merged commit dee2fb3 into spdx:main Aug 24, 2023
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

Successfully merging this pull request may close these issues.

2 participants