Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] RFC: JGit - RemoteConfig API is misleading

Currently, RemoteConfig keeps two lists of URIs, one for fetch and one for push-URIs. However, the corresponding list of RefSpecs make only sense for a given URI. In other words, mixing RefSpecs for different remote repositories does not make sense IMHO.
Thus I would suggest to have RemoteConfig have two URI members, one for a fetch URI and one for a push URI and adjust the API accordingly by removing the list-based operations for URIs and provide simple setter/getter methods as replacement.
 
I have uploaded a patch to Gerrit for clarification:
 
http://egit.eclipse.org/r/526
 
I’m looking forward to your feedback on this.
Best regards,
 
Dr. Mathias Kinzler
Senior Developer
TD Core JS&I DPI (AG)
SAP AG
Dietmar-Hopp-Allee 16
69190 Walldorf, Germany
T +49 6227 7-48845
F +49 6227 78-22737
E mathias.kinzler@xxxxxxx
www.sap.com

Pflichtangaben/Mandatory Disclosure Statements: http://www.sap.com/company/legal/impressum.epx

Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank.

This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.
 
 
 
 

Back to the top