ALBS-1122: Replace notarization interface from CAS to VCN #7

Merged
danfimov merged 3 commits from danfimov/cas_wrapper:albs-1122 into master 2023-06-20 14:43:28 +00:00
Collaborator
No description provided.
danfimov added 1 commit 2023-06-07 14:32:49 +00:00
danfimov force-pushed albs-1122 from d0c3e0a4e1 to 46b61be603 2023-06-08 12:15:12 +00:00 Compare
jhernandez reviewed 2023-06-08 16:01:20 +00:00
jhernandez left a comment
Member

Left a couple of comments, but other than that, it looks good to me. Also, shall we also bring #3 back?

Left a couple of comments, but other than that, it looks good to me. Also, shall we also bring https://git.almalinux.org/almalinux/cas_wrapper/pulls/3 back?
cas_wrapper.py Outdated
@ -6,3 +24,4 @@
return wrapper
class CasWrapper:
Member

Shall we rename it to VCNWrapper? This would also involve updating the project name, git repo name, etc. Not sure, what do you think? 🤔

Shall we rename it to VCNWrapper? This would also involve updating the project name, git repo name, etc. Not sure, what do you think? 🤔
Author
Collaborator

I haven't renamed to VCNWrapper because of these things, probably we can to rename it in more abstract like style, i.e. CodeNotaryWrapper or something like this

I haven't renamed to `VCNWrapper` because of these things, probably we can to rename it in more abstract like style, i.e. `CodeNotaryWrapper` or something like this
Member

Yeah, let's just keep it as it is now. We can do the move later.

Yeah, let's just keep it as it is now. We can do the move later.
danfimov marked this conversation as resolved
@ -39,3 +60,1 @@
cls._is_binary_present()
command = local['cas']['--version']
version = command().split()[-1].split('v')[1]
def get_version(self):
Member
This breaks https://github.com/AlmaLinux/alma-sbom/blob/main/libsbom/cyclonedx.py#L30
Author
Collaborator

yes, but we need to make changes in alma-sbom repository anyway, because CasWrapper expect different values for initialization
also maybe there is a point, to left this method as classmethod

yes, but we need to make changes in `alma-sbom` repository anyway, because `CasWrapper` expect different values for initialization also maybe there is a point, to left this method as `classmethod`
Member

Right, we need to update alma-sbom too. And yes, I'd imagine that we might keep this as a classmethod.

Right, we need to update `alma-sbom` too. And yes, I'd imagine that we might keep this as a `classmethod`.
danfimov marked this conversation as resolved
danfimov added 1 commit 2023-06-15 08:34:54 +00:00
jhernandez approved these changes 2023-06-19 11:31:18 +00:00
danfimov merged commit d68685bf72 into master 2023-06-20 14:43:28 +00:00
danfimov deleted branch albs-1122 2023-06-20 14:43:37 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: almalinux/cas_wrapper#7
No description provided.