Skip to content

[v3] merge altsrc with main package - #936

Closed
coilysiren wants to merge 14 commits into
v3-development-masterfrom
v3-alt-src
Closed

coilysiren wants to merge 14 commits into
v3-development-masterfrom
v3-alt-src

Conversation

@coilysiren

@coilysiren coilysiren commented Nov 18, 2019 •

Copy link
Copy Markdown
Member

What type of PR is this?

(REQUIRED)

  • bug
  • cleanup
  • documentation
  • feature

What this PR does / why we need it:

This is one of the first goals for the v3 release (via #833 (comment)). This helps condense the public API by reducing two exposed packages from before into a single package.

Release Notes

- Remove `altsrc` package
- Add `FlagInputSourceExtension` interface to allow a value to be set on existing parsed flags through alternate sources like `JSON` or `TOML` etc.

@coilysiren coilysiren self-assigned this Nov 18, 2019
@coilysiren coilysiren changed the title [ 🚧 WIP 🚧 ] V3 alt src [ 🚧 WIP 🚧 ] v3 alt src Nov 18, 2019
@coilysiren coilysiren closed this Dec 8, 2019
@coilysiren coilysiren mentioned this pull request Dec 8, 2019
18 tasks done
@coilysiren
coilysiren deleted the v3-alt-src branch December 25, 2019 16:49
@asahasrabuddhe

Copy link
Copy Markdown
Member

Looks like I can take this off your hands :)

@coilysiren
coilysiren restored the v3-alt-src branch January 28, 2020 08:23
@coilysiren

Copy link
Copy Markdown
Member Author

@asahasrabuddhe yes please! I looked at it a bunch, but didn't commit anything 😆

@asahasrabuddhe

Copy link
Copy Markdown
Member

We are back in business!

@codecov

codecov Bot commented Jan 30, 2020 •

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (v3-development-master@c5f50db). Click here to learn what that means.
The diff coverage is 55.44%.

Impacted file tree graph

@@                   Coverage Diff                   @@
##             v3-development-master    #936   +/-   ##
=======================================================
  Coverage                         ?   67.4%           
=======================================================
  Files                            ?      31           
  Lines                            ?    2626           
  Branches                         ?       0           
=======================================================
  Hits                             ?    1770           
  Misses                           ?     745           
  Partials                         ?     111
Impacted Files Coverage Δ
errors.go 87.5% <ø> (ø)
category.go 87.5% <ø> (ø)
map_input_source.go 34.57% <ø> (ø)
json_source_context.go 12.37% <0%> (ø)
app.go 78.71% <100%> (ø)
flag.go 82.35% <100%> (ø)
flag_string.go 87.5% <100%> (ø)
flag_duration.go 73.07% <100%> (ø)
flag_int_slice.go 76.82% <100%> (ø)
flag_string_slice.go 81.08% <100%> (ø)
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5f50db...ddb40f4. Read the comment docs.

@asahasrabuddhe
asahasrabuddhe changed the base branch from master to v3-development-master January 30, 2020 09:46
@asahasrabuddhe
asahasrabuddhe marked this pull request as ready for review January 30, 2020 10:24
@asahasrabuddhe
asahasrabuddhe requested a review from a team as a code owner January 30, 2020 10:24
@asahasrabuddhe
asahasrabuddhe removed the request for review from a team January 30, 2020 10:24
@asahasrabuddhe asahasrabuddhe changed the title [ 🚧 WIP 🚧 ] v3 alt src v3 alt src Jan 30, 2020
@asahasrabuddhe asahasrabuddhe changed the title v3 alt src [v3] merge altsrc with main package Jan 30, 2020
@asahasrabuddhe

Copy link
Copy Markdown
Member

For some reason, github actions refuse to work on this PR. Will have to start a new one!

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.

2 participants