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

Add keep file path for ios #712

Merged
merged 4 commits into from
Apr 13, 2020
Merged

Add keep file path for ios #712

merged 4 commits into from
Apr 13, 2020

Conversation

pawelpasterz
Copy link
Contributor

Fixes #705

Checklist

  • Documented
  • Unit tested
  • release_notes.md updated

@pawelpasterz pawelpasterz added this to the May 2020 milestone Apr 9, 2020
@pawelpasterz pawelpasterz self-assigned this Apr 9, 2020
@codecov-io
Copy link

Codecov Report

Merging #712 into master will increase coverage by 0.24%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #712      +/-   ##
============================================
+ Coverage     78.52%   78.77%   +0.24%     
- Complexity      664      665       +1     
============================================
  Files           113      113              
  Lines          2673     2676       +3     
  Branches        381      380       -1     
============================================
+ Hits           2099     2108       +9     
+ Misses          324      322       -2     
+ Partials        250      246       -4     

@@ -168,6 +168,10 @@ flank:
## Local folder to store the test result. Folder is DELETED before each run to ensure only artifacts from the new run are saved.
# local-result-dir: flank

## Keeps the full path of downloaded files. Required when file names are not unique.
## Default: false
# keep-file-path: false
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for pointing this out!

@bootstraponline
Copy link
Contributor

Thank you for working on this feature! I've downloaded the branch and ran 3 tests. The feature appears to be working as expected. 🎉

  • Default flank.ios.yml, both files-to-download and keep-file-path commented out

  • Modified flank.ios.yml. files-to-download enabled. keep-file-path set to false
 files-to-download:
    - .*
  keep-file-path: false

  • Modified flank.ios.yml. files-to-download enabled. keep-file-path set to true
 files-to-download:
    - .*
  keep-file-path: true

@pawelpasterz pawelpasterz marked this pull request as ready for review April 12, 2020 19:27

## Keeps the full path of downloaded files. Required when file names are not unique.
## Default: false
# keep-file-path: false
Copy link
Contributor

Choose a reason for hiding this comment

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

image

let's keep the newline at the end of the file
https://unix.stackexchange.com/a/18789

Copy link
Contributor

@bootstraponline bootstraponline left a comment

Choose a reason for hiding this comment

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

code looks great!

jan-goral
jan-goral previously approved these changes Apr 13, 2020
@pawelpasterz pawelpasterz dismissed stale reviews from jan-goral and bootstraponline via 33d55ea April 13, 2020 06:05
@pawelpasterz pawelpasterz merged commit b87fadd into master Apr 13, 2020
@pawelpasterz pawelpasterz deleted the keep-file-path-for-ios branch April 13, 2020 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add keep-file-path for iOS
4 participants