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

Support recursive directories #15

Open
SamJongenelen opened this issue Nov 8, 2018 · 5 comments
Open

Support recursive directories #15

SamJongenelen opened this issue Nov 8, 2018 · 5 comments

Comments

@SamJongenelen
Copy link

SamJongenelen commented Nov 8, 2018

Currently there is support for wildcards, but this does not seem to support recursion
(https://github.com/Augurk/Augurk.CommandLine/blob/master/src/Augurk.CommandLine/Commands/PublishCommand.cs#L220)

suggestion: use the minimatch pattern to support recursion?

workaround: wrap the Augurk.exe command in some powershell and implement in VSTS task:

$children = Get-ChildItem "$(featureFilesDirectory)" -File -Filter "*.feature" -Recurse | select -ExpandProperty FullName 
$csFeatureFiles = $children -join ","

&"$(augurkLocation)"  publish --url "$(url)" --productName "$(productName)" --productDesc "$(productDesc)" --groupName "$(groupName)" --language "$(language)" --featureFiles $csFeatureFiles --cleargroup --branchName "$(branchName)" --embed
@jmezach
Copy link
Member

jmezach commented Nov 8, 2018

@SamJongenelen You're right, we do not currently support this natively inside the command line. We do however support this in our Azure DevOps (VSTS) extension.

That being said I can imagine scenario's where it can be useful to have this inside the commandline itself. We also have an open issue regarding relative paths to the folder containing the feature files (#10), so we might consider combining these two issues

@jmezach jmezach changed the title Augur.Commandline; support recursive directories Support recursive directories Nov 8, 2018
@SamJongenelen
Copy link
Author

Yes. Currently I am unable to consume the VSTS extension, as we are using an on premise TFS :)

@jmezach
Copy link
Member

jmezach commented Nov 8, 2018

@SamJongenelen The extension should work with on-premises TFS as well. You should be able to install it through the Marketplace. Please let us know if you have any issues getting it installed.

@SamJongenelen
Copy link
Author

Yes, however i don't have those credentials in the workplace

@jmezach
Copy link
Member

jmezach commented Nov 8, 2018

I think you should be able to request installation so that someone can review your request and approve/disapprove it.

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

2 participants