Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a native git provider #9

Closed
helpermethod opened this issue Jan 19, 2020 · 6 comments
Closed

Implement a native git provider #9

helpermethod opened this issue Jan 19, 2020 · 6 comments
Milestone

Comments

@helpermethod
Copy link
Collaborator

helpermethod commented Jan 19, 2020

The project currently uses jgit for creating branches, committing modifications, pushing refs, etc... .

While jgit offers some benefits (Java-based DSL, does not require a native git client) it requires extensive setup for authenticating against a remote repository, which may be acceptable in Docker-based CI environments but not so in non-Docker based environments (Jenkins without Docker agent, local dev machine).

The goal of this ticket is to implement a git provider which uses the native git executable if present.

@sparsick
Copy link
Collaborator

Hi @helpermethod, if you are interested, @georgberky and me could contribute a proposal of an implementation for this feature.

@helpermethod
Copy link
Collaborator Author

helpermethod commented Mar 19, 2020

Hi @sparsick!

That would be awesome!

sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Mar 20, 2020
- simplify local build
- move release relevant steps to own profile

Co-authored-by: Georg Berky <[email protected]>
georgberky added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Mar 20, 2020
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Mar 20, 2020
- move jgit specific operation to interface implementation

Co-authored-by: Georg Berky <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Mar 21, 2020
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Mar 21, 2020
- use more kotlin syntax
@helpermethod
Copy link
Collaborator Author

Hi @sparsick,

because your commits already improve dependency-update-maven-plugin by a large margin, would you like to do a first PR?

The concrete implementation of the NativeGitProvider (or whatever you may call it) could be done in a separate PR.

What do you think?

@helpermethod
Copy link
Collaborator Author

BTW I've created a Slack channel to discuss ideas, further development, tooling and so on

https://join.slack.com/t/dependencyupd-pfm5382/shared_invite/zt-d34ieqlj-qk9T6YLmtYwaxFAAiY34kA

I will also add a badge to the README.me if time permits.

@sparsick
Copy link
Collaborator

Hi @helpermethod

because your commits already improve dependency-update-maven-plugin by a large margin,
would you like to do a first PR?

It is a good idea. Let me change the PR title and description and then you can go for it. @georgberky and I want to continue on Friday with the implementation.

sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Mar 25, 2020
- use more kotlin syntax sugar
helpermethod pushed a commit that referenced this issue Mar 25, 2020
* #9: refactoring maven config

- simplify local build
- move release relevant steps to own profile

Co-authored-by: Georg Berky <[email protected]>

* #9 Add JUnit and AssertJ

Co-Authored-By: Sandra Parsick <[email protected]>

* #9: extracting interface

- move jgit specific operation to interface implementation

Co-authored-by: Georg Berky <[email protected]>

* #9: change junit jupiter deps

* #9: refacoring

- use more kotlin syntax

* #9: refacoring

- use more kotlin syntax sugar

Co-authored-by: Georg Berky <[email protected]>
Co-authored-by: Georg Berky <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Mar 27, 2020
- preparation for integration tests
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Mar 27, 2020
georgberky added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 20, 2020
georgberky added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 20, 2020
georgberky added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 20, 2020
georgberky added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 20, 2020
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Jun 2, 2020
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Jun 2, 2020
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Jun 2, 2020
Co-authored-by: Georg Berky <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Jun 9, 2020
georgberky added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Jun 9, 2020
georgberky added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Jun 9, 2020
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Jun 23, 2020
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Jun 23, 2020
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Jun 23, 2020
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Jun 23, 2020
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue Jun 23, 2020
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
Co-authored-by: Georg Berky <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick pushed a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick pushed a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
Co-authored-by: Georg Berky <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick pushed a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick pushed a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
 - with native provider
 - still messy with Kotlin and class names

 Co-Authored-By: Sandra Parsick <[email protected]>
sparsick pushed a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
 Co-Authored-By: Sandra Parsick <[email protected]>
 Co-Authored-By: Karl Heinz Marbaise <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
Co-Authored-By: Sandra Parsick <[email protected]>
Co-Authored-By: Karl Heinz Marbaise <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
Co-Authored-By: Sandra Parsick <[email protected]>
Co-Authored-By: Karl Heinz Marbaise <[email protected]>
                                                    u
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
Co-Authored-By: Sandra Parsick <[email protected]>
Co-Authored-By: Karl Heinz Marbaise <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
Co-Authored-By: Sandra Parsick <[email protected]>
Co-Authored-By: Georg Berky <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
Co-Authored-By: Sandra Parsick <[email protected]>
Co-Authored-By: Georg Berky <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
   - The used directory from baseDirectory to targetProjectDirectory.
   - Using git init instead of git open.

Co-Authored-By: Sandra Parsick <[email protected]>
Co-Authored-By: Georg Berky <[email protected]>
sparsick pushed a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
 Co-Authored-By: Sandra Parsick <[email protected]>
 Co-Authored-By: Karl Heinz Marbaise <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
Co-Authored-By: Sandra Parsick <[email protected]>
Co-Authored-By: Karl Heinz Marbaise <[email protected]>
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
sparsick added a commit to sparsick/dependency-update-maven-plugin that referenced this issue May 18, 2021
Co-Authored-By: Karl Heinz Marbaise <[email protected]>
@khmarbaise khmarbaise added this to the 0.7.0 milestone May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants