8000 Add environment variable to set timestamp by Spacetown · Pull Request #729 · gcovr/gcovr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add environment variable to set timestamp #729

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

Merged

Conversation

Spacetown
Copy link
Member

As suggested in #728 this PR changes the default of --timestamp to respect the environment variable SOURCE_DATE_EPOCH.

Closes #728

In practice SOURCE_DATE_EPOCH specifies the last modification of something, usually the source code, (measured) in seconds since the Unix epoch, which is January 1st 1970, 00:00:00 UTC.
@Spacetown Spacetown added this to the 6.0 milestone Feb 22, 2023
@Spacetown Spacetown added the cli relating to the command line interface or the config system label Feb 22, 2023
@Spacetown Spacetown force-pushed the add_environment_variable_to_set_timestamp branch from 04eea49 to 733c006 Compare February 22, 2023 20:19
@codecov
Copy link
codecov bot commented Feb 22, 2023

Codecov Report

Base: 95.58% // Head: 95.59% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (a0309a9) compared to base (168ba6f).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #729   +/-   ##
=======================================
  Coverage   95.58%   95.59%           
=======================================
  Files          28       28           
  Lines        3847     3855    +8     
  Branches      672      672           
=======================================
+ Hits         3677     3685    +8     
  Misses         92       92           
  Partials       78       78           
Flag Coverage Δ
ubuntu-20.04 94.28% <100.00%> (+0.01%) ⬆️
windows-2019 95.18% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
gcovr/configuration.py 99.69% <100.00%> (+<0.01%) ⬆️
gcovr/gcov_parser.py 97.61% <0.00%> (-0.02%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Spacetown Spacetown force-pushed the add_environment_variable_to_set_timestamp branch from b3aa795 to 119713c Compare February 22, 2023 21:11
Co-authored-by: Lukas Atkinson <opensource@LukasAtkinson.de>
@Spacetown Spacetown force-pushed the add_environment_variable_to_set_timestamp branch from 119713c to 8b65607 Compare February 22, 2023 21:13
@Spacetown Spacetown force-pushed the add_environment_variable_to_set_timestamp branch from 18f6da1 to 27cec26 Compare February 22, 2023 21:38
@Spacetown Spacetown merged commit f98cc18 into gcovr:master Feb 22, 2023
@Spacetown Spacetown deleted the add_environment_variable_to_set_timestamp branch February 22, 2023 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli relating to the command line interface or the config system Format: Cobertura Format: Coveralls Format: HTML Type: Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically use SOURCE_DATE_EPOCH
1 participant
0