Skip to content

make apply-patches work for core package contributions #2

Description

@a-teammate

the problem

contributors to core packages want to test their contributions, but usually they don't have it merged into elm-janitor "stack-XY" branches.

So instead they would have it in
a) a local copy of the elm-core repo
b) a pull request to the elm-core repo
c) sometimes in a branch to elm-janitor (bundeling some PRs to the respective elm-core package)

currently the only way to use apply-patches is, if you have access to elm-janitor and the guts to create a stack-1.0.x branch (which will also potentially break all current users of apply-patches, as your new branch would be picked up for them).

implementation

i guess this would require some major rewrites, as currently the implementation is passing around a "version".

Challenges:

  1. add code for not downloading but copying from a local folder
  2. add solution for telling the version of unpublished packages

Especially the second I see as a little challenging:
they don't have a bumped version in elm.json as this is the responsibility of evan (after merging in some PRs, he will bump the version). So instead the version in the repo would be incremented?

I think this has the potential of making the elm-janitor contributions a little easier as well.
As all the "stack-1.0.x" branches would not be required anymore, but just the elm-janitor/main branch would be enough.
But that is also why I cant take over that task as novice, as it will probably require some deeper thoughts from people who already set up that system.

Activity

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