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

wildcard management in File system collector #22

Closed
mdemarqu opened this issue Mar 22, 2018 · 4 comments
Closed

wildcard management in File system collector #22

mdemarqu opened this issue Mar 22, 2018 · 4 comments

Comments

@mdemarqu
Copy link

It would be useful to handle wildcards or regex in file system collector in order to filter files easily.

example :

<entry>
  <name>/usr/lib/foo</name>
  <collect>
    <from>target/*/*.so</from>
  </collect>
</entry>
@ctron
Copy link
Owner

ctron commented Mar 23, 2018

I agree that would be quite useful. However I would try to re-use Mavens existing concept of includes/excludes like this:

<entry>
  <name>/usr/lib/foo</name>
  <collect>
    <from>target</from>
    <includes>
        <include>**/*.so</include>
    </includes>
    <excludes>
        <exclude>**/dont-use-me*.so</exclude>
    </excludes>
  </collect>
</entry>

@mdemarqu
Copy link
Author

Yes, lot more elegant.

@Sami32
Copy link

Sami32 commented May 12, 2018

I agree, more elegant and very useful in any case.

@ctron
Copy link
Owner

ctron commented Jul 6, 2018

This should be fixed in version 1.0.0 which I just released. Please re-open otherwise.

@ctron ctron closed this as completed Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants