ALBS-443: Integrate CodeNotary with git updater tool #1

Merged
soksanichenko merged 10 commits from ALBS-443 into master 1 year ago
Owner

Add cas wrapper

Add cas wrapper
soksanichenko added 1 commit 1 year ago
soksanichenko added 1 commit 1 year ago
soksanichenko added 1 commit 1 year ago
soksanichenko added 1 commit 1 year ago
soksanichenko added 1 commit 1 year ago
soksanichenko added 1 commit 1 year ago
soksanichenko added 1 commit 1 year ago
anfimovdm approved these changes 1 year ago
anfimovdm left a comment
Collaborator

lgtm

lgtm
AvoidMe reviewed 1 year ago
@ -0,0 +28,4 @@
SIGNER_ID=self._cas_signer_id
):
self._cas = local['cas']
self._cas['login']()
AvoidMe commented 1 year ago
Collaborator

I feel uncomfortable with login() in __init__, can't we do it in __enter__ and __exit__?

I feel uncomfortable with `login()` in `__init__`, can't we do it in `__enter__` and `__exit__`?
Poster
Owner

Do you suggest convert it to context manager?

Do you suggest convert it to context manager?
AvoidMe commented 1 year ago
Collaborator

yes

yes
soksanichenko marked this conversation as resolved
soksanichenko added 1 commit 1 year ago
soksanichenko added 1 commit 1 year ago
soksanichenko added 1 commit 1 year ago
soksanichenko merged commit bd5686e9e4 into master 1 year ago

Reviewers

anfimovdm approved these changes 1 year ago
The pull request has been merged as bd5686e9e4.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b ALBS-443 master
git pull origin ALBS-443

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff ALBS-443
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
3 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#1
Loading…
There is no content yet.