gitolite icon indicating copy to clipboard operation
gitolite copied to clipboard

support for subdirectory-based multiple keys

Open lacides opened this issue 12 years ago • 6 comments

Hi, Just as it says on the tin. I need this feature for one of my projects. I'm happy to discuss about any edge cases I may have missed or about any feedback provided.

Lacides

lacides avatar Mar 04 '13 23:03 lacides

Howdy, Any reason for a Simple SSH key over just using the original SSH key? I think I'd prefer one object (especially since the difference between the two is not clear) that maintains backwards compatibility.

Otherwise, looks solid.

wingrunr21 avatar Mar 12 '13 15:03 wingrunr21

Hey, Sorry for the delay. I really didn't have a particular reason for using a new class, I guess I just thought it'd be easier to write. I'm cool with rewriting it so it uses the original class, though I don't see how the new class breaks backwards compatibility.

lacides avatar Mar 18 '13 15:03 lacides

Less concerned about the backwards compatibility and more that there are two SSHKey objects without any real distinction. I'd prefer one SSHKey object and if child-objects are needed to properly manage nesting then those can be utilized that way.

wingrunr21 avatar Mar 25 '13 16:03 wingrunr21

I understand. So, I just went and used the original SSHKey class (didn't use a child object) by adding an instance variable to indicate nesting. Let me know what you think.

lacides avatar Apr 01 '13 21:04 lacides

Hi there!

Any news on this PR? I have pull requests to submit (remove chdir, use last version of Gitlab-grit, etc...), can I send them?

Thank you!

n-rodriguez avatar Feb 16 '14 14:02 n-rodriguez

@n-rodriguez I'm not actively maintaining this gem any longer. If this PR seems to do the job I'm ok with merging it.

Go ahead and send other PRs. I'll look them over.

wingrunr21 avatar Feb 16 '14 22:02 wingrunr21