Skip to content

config-next: Tracking Issue #1425

Closed
Closed

Description

@ttaylorr

This is a tracking issue to keep tabs on the config-next refactoring.

The broad goals of this refactoring are to move away from the domain-specific API that package config currently exposes, to a data-fetching type, and a series of well-factored types and packages throughout the rest of LFS.

Specifically, this refactoring comes in a number of parts:

  • Introduce Fetcher, implement EnvFetcher, and integrate with *config.Config.
  • Update tests to not use mutable behavior like Set and SetAll.
  • Refactor Fetcher type as described in e32fabe.
  • Implement the GitFetcher.
  • Remove mutable .gitconfig-related operations
    • From package transfer
    • From everywhere else
  • Piece by piece, remove legacy calls to GetenvBool, replacing them with .Env.Bool (and etc).

Activity

  1. added this to the milestone on Aug 9, 2016
  2. ttaylorr commented on Aug 15, 2016

    @ttaylorr
    ContributorAuthor

    Piece by piece, remove domain knowledge from the *config.Config type, in favor of the methodology described in #1390 (comment).

    Taking this one off of the tracking issue, since this is now outside the scope of the config-next refactoring. As discussed with @technoweenie, a good first step would be to outline all of the places the config package is used irresponsibly from api.

  3. technoweenie commented on Aug 16, 2016

    @technoweenie
    Contributor

    Just shipped the rest of the PRs. Great job 🤘

  4. ttaylorr commented on Aug 16, 2016

    @ttaylorr
    ContributorAuthor

    Woo-hoo! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions