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

Confirm all flags are added #15

Closed
19 of 40 tasks
drazisil opened this issue Mar 1, 2020 · 3 comments
Closed
19 of 40 tasks

Confirm all flags are added #15

drazisil opened this issue Mar 1, 2020 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@drazisil
Copy link
Contributor

drazisil commented Mar 1, 2020

  • -h Display this help and exit

The globbing on this is strange Need to test the ! masks work

  • -f FILE Target file(s) to upload
    -f "path/to/file" only upload this file
    skips searching unless provided patterns below
    -f '!*.bar' ignore all files at pattern .bar
    -f '
    .foo' include all files at pattern .foo
    Must use single quotes.
    This is non-exclusive, use -s "
    .foo" to match specific paths.

  • -s DIR Directory to search for coverage reports.
    Already searches project root and current working directory Coverage directory -s #89

  • -t TOKEN Set the private repository token
    (option) set environment variable CODECOV_TOKEN=:uuid
    -t @/path/to/token_file
    -t uuid

  • -n NAME Custom defined name of the upload. Visible in Codecov UI Custom defined name of the upload #75

  • -X feature Toggle functionalities

  • -e ENV Specify environment variables to be included with this build
    Also accepting environment variables: CODECOV_ENV=VAR,VAR2
    -e VAR,VAR2 Custom defined name of the upload #75

  • -X search Disable searching for reports

  • -X network Disable uploading the file network

  • -N The commit SHA of the parent for which you are uploading coverage. If not present,
    the parent will be determined using the API of your repository provider.
    When using the repository provider's API, the parent is determined via finding
    the closest ancestor to the commit. Parent commit sha -N #87

  • -R root dir Used when not in git/hg project to identify project root directory


  • -F flag Flag the upload to group coverage metrics
    -F unittests This upload is only unittests
    -F integration This upload is only integration tests
    -F ui,chrome This upload is Chrome - UI tests
  • -c Move discovered coverage reports to the trash
  • -Z Exit with 1 if not successful. Default will Exit with 0
  • -v Verbose mode
    -- Override CI Environment Variables --
    These variables are automatically detected by popular CI providers
  • -B branch Specify the branch name
  • -C sha Specify the commit sha
  • -P pr Specify the pull request number
  • -b build Specify the build number
  • -T tag Specify the git tag
    -- Enterprise --
  • -u URL Set the target url for Enterprise customers
    Not required when retrieving the bash uploader from your CCE
    (option) Set environment variable CODECOV_URL=https://my-hosted-codecov.com
  • -r SLUG owner/repo slug used instead of the private repo token in Enterprise
    (option) set environment variable CODECOV_SLUG=:owner/:repo
    (option) set in your codecov.yml "codecov.slug"
  • -S PATH File path to your cacert.pem file used to verify ssl with Codecov Enterprise (optional)
    (option) Set environment variable: CODECOV_CA_BUNDLE="/path/to/ca.pem"
    -- Debugging --
  • -d Don't upload, but dump upload file to stdout

We don't use curl, so probably unneeded

  • -U curlargs Extra curl arguments to communicate with Codecov. e.g., -U "--proxy http://http-proxy"
  • -A curlargs Extra curl arguments to communicate with AWS.

=== All flags below apply to functionality I would prefer to not carry over as it either modifies customer reports prior to upload, or otherwise runs magic that is not clear and prone to confusion ===

  • -X gcovout Disable gcov output
  • -X gcov Disable gcov
  • -X coveragepy Disable python coverage
  • -X fix Disable report fixing
  • -X xcode Disable xcode processing

I'd like to remove xcode functionally and make this a pure uploader

-- xcode --
  • -D Custom Derived Data Path for Coverage.profdata and gcov processing
    Default '~/Library/Developer/Xcode/DerivedData'
  • -J Specify packages to build coverage.
    This can significantly reduces time to build coverage reports.
    -J 'MyAppName' Will match "MyAppName" and "MyAppNameTests"
    -J '^ExampleApp$' Will match only "ExampleApp" not "ExampleAppTests"

I'd like to remove gcov functionally and make this a pure uploader

-- gcov --
  • -g GLOB Paths to ignore during gcov gathering
  • -G GLOB Paths to include during gcov gathering
  • -p dir Project root directory
    Also used when preparing gcov
  • -k prefix Prefix filepaths to help resolve path fixing
  • -x gcovexe gcov executable to run. Defaults to 'gcov'
  • -a gcovargs extra arguments to pass to gcov


This can probably be removed as I'm not using color

  • -K Remove color from the output

@drazisil drazisil added the enhancement New feature or request label Mar 1, 2020
@drazisil drazisil added this to the v1.0 milestone Mar 1, 2020
@drazisil drazisil self-assigned this Mar 1, 2020
@drazisil-codecov
Copy link
Contributor

Also add the undocumented pre-signed PUT override flag.

@drazisil drazisil removed their assignment Feb 22, 2021
@drazisil
Copy link
Contributor Author

pinging @drazisil-codecov

@drazisil-codecov
Copy link
Contributor

All v1 flags have been added. Marking this done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants