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

cli: hide .git related files #351

Merged
merged 1 commit into from
Jan 16, 2020

Conversation

mvidalgarcia
Copy link
Member

@@ -31,6 +31,9 @@
from reana_commons.utils import click_table_printer


FILES_BLACKLIST = ('.git/', '/.git/')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a need for '/.git/' ?

Copy link
Member Author

@mvidalgarcia mvidalgarcia Jan 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is how reana-client du prints the information. This is what reana-client obtains from the server:

...
{'name': '/.git/info/exclude', 'size': '4.0K'}
{'name': '/.git/info', 'size': '4.0K'}        
{'name': '/.git/branches', 'size': '0'}          
...

@diegodelemos diegodelemos merged commit f3623d8 into reanahub:master Jan 16, 2020
@mvidalgarcia mvidalgarcia deleted the r/240-gitlab-workspace branch January 16, 2020 11:11
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

Successfully merging this pull request may close these issues.

gitlab: full analysis repository shown in the workspace when running from GitLab
3 participants