Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

RPM signing feature #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

wbfunk92
Copy link

@wbfunk92 wbfunk92 commented Jul 9, 2019

RSA signing feature added alongside YUM signing service for RPM channels

@wbfunk92
Copy link
Author

wbfunk92 commented Jul 9, 2019

Also added a couple of code snippets in ModifyContextImpl.java and ChannelServiceImpl.java for deleting empty directories after channels were cleared or deleted

@ctron
Copy link
Contributor

ctron commented Jul 11, 2019

Thanks for the PR! I will take a look in the next few days.

Two more formal things: you will need to sign the Eclipse ECA and add the Signed-off-by footer in the commit message, using the same e-mail you signed the ECA for. You will need to edit and force push the existing commit.

You would also need to add proper license headers for the new files and add yourself to the license header of the files you modified.

I also saw that you modified the code of the RPM utilities. As indicated in issue #137, this functionality is being relocated into a new project, which only focuses on this aspect. It would be great if you could create a PR in this project (https://github.com/eclipse/packager). I hope to be able to create a new release of that project soon, so I could refactor Package Drone to actually pick up those libraries and re-use the functionality.

@wbfunk92
Copy link
Author

wbfunk92 commented Jul 11, 2019

Signed the ECA, added license info and signatures. I had forgotten about contributing to the eclipse packager project and I don't have time today to create a pull request but I will take care of it tomorrow!

@@ -1,5 +1,16 @@
/*******************************************************************************
* Contract No: FA8750-14-D-0037
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please align that with the other headers:

e.g.:

Copyright (c) 2019 Trident Systems, Inc.

Copy link
Author

Choose a reason for hiding this comment

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

Certainly. I've added that line to each file containing that header.

Copy link
Contributor

Choose a reason for hiding this comment

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

I am sorry, but I was assuming to drop:

 * Contract No:  FA8750-14-D-0037
 * Contractor Name:   Trident Systems, Inc.
 * Contractor Address:  10201 Fairfax Blvd. Suite 300, Fairfax, VA

as well. So that the license headers match the existing license headers.

Copy link
Author

Choose a reason for hiding this comment

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

Oh, I see. Sure I can do that as well.

@ctron
Copy link
Contributor

ctron commented Sep 3, 2019

Ok, it looks like there are still commits, signed off with an e-mail address, that has not signed the ECA. Maybe you can squash the commits and force-push the result to this PR. Only using the correct e-mail address in the process.

@wbfunk92 wbfunk92 force-pushed the rpmsign branch 2 times, most recently from d7aec48 to 132876c Compare September 11, 2019 18:15
@wbfunk92
Copy link
Author

wbfunk92 commented Sep 11, 2019 via email

@ctron
Copy link
Contributor

ctron commented Sep 12, 2019

I think you misspelled the footer entry Signed-off-by vs Signed-off by (missing dash).

You should be able to see the validation results in the checks box of the PR. The check is named eclipsefdn/eca.

@wbfunk92
Copy link
Author

Haha I will get it right one of these days. I see what you mean now. After amending the commit it seems to be approving the eclipsefdn/eca check.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants