Skip to content

Option to accept multiple git directories  #137

Closed
@andrecr12

Description

@andrecr12

Hi,

Firstly, I'd to congratulate you all for this great plugin. This is very useful!

Second, I'd like to ask if already exists or suggest an option to configure the plugin to read multiple Git folder information.
For instance in my current case, I have a git repo that tracks the J2EE content and another git repo that tracks just the front-end code (HTML, CSS, Js, etc):

- <project_root>/.git
- <project_root>/src/main/webapp/.git

And, it'd be great if I could track the latest version of the built package of both gits.

Maybe, setting two configuration sets with two different prefix:

...
<configuration>
    <prefix>git1</prefix>
    ...
</configuration>
<configuration>
    <prefix>git2</prefix>
    ...
</configuration>

And, instead of only one git.properties, we could have:

# git1.properties
git.commit.id.describe=${git1.commit.id.describe}
...
# git2.properties
git.commit.id.describe=${git2.commit.id.describe}

I understand that this is not very common, but I believe it'd be nice to have this plugin the most flexible as possible.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions