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

2.0.0 todo list #451

Closed
26 of 31 tasks
cweagans opened this issue Feb 7, 2023 · 12 comments
Closed
26 of 31 tasks

2.0.0 todo list #451

cweagans opened this issue Feb 7, 2023 · 12 comments
Milestone

Comments

@cweagans
Copy link
Owner

cweagans commented Feb 7, 2023

Composer Patches needs a 2.0.0 release. The 1.x version is too fragile to do much of anything with. Here are the remaining things on my list - if you'd like to help with any of this, it'd be greatly appreciated. Feel free to comment or email me (me at mygithubusername dot net) if you need help getting started.

Features

All of these items must include test coverage of some kind to be merged.

Support

There are a lot of composer-patches users and they have varied ways of using the plugin.

All of this was done in #456

  • Add Github Actions to auto-triage issue queue where possible:
    • Close stale issues/PRs
    • Automatic comments based on simple string search of issue body. e.g. Cannot apply patch = link to troubleshooting guide about how to fix your patch
  • Add issue templates similar to Homebrew
    • Support -> Github discussions
    • Feature request -> Github discussions
    • "Reproducible bug" should be a Github issue form that prompts for "What happened?", "What did I expect?", "Minimum reproducible composer.json", "Full output of related composer command with -vvv flag", "Full contents of patches.lock"
  • Add pull request template -- request link to related issue(s), short description of PR
  • Configure security policy, private vuln reporting, code scanning alerts, secret scanning alerts in Github.
  • Build a docs site?

Release announcement/promo

  • Release announcement
    • What's new?
    • What changed?
    • Who should upgrade/not upgrade? (People who rely on dependency patch resolution or PHP < 8.x should not upgrade yet)
    • How do I upgrade?
    • Contributions
  • Release announcement promotion. Multiple communities use composer-patches as part of their workflow. I'm already set up for publication to Drupal Planet, but I could use help with finding/gaining access to similar things for the following communities. I can provide a composer-patches specific RSS feed from my blog. I intend to post the Composer Patches 2.0.0 release announcement there and I would like to get it in front of as many users as possible.
  • Alert 1.x users of availability of 2.0.0 somehow? Not sure about this one.

Documentation

Nice-to-haves

@cweagans
Copy link
Owner Author

For people following along at home, updated documentation is being staged at https://docs-staging.cweagans.net/composer-patches -- still very much under construction, but I'd appreciate any feedback.

@arderyp
Copy link

arderyp commented Mar 30, 2023

Thanks @cweagans for the awesome package and documentation! I am eagerly awaiting version 2 for the more descriptive Expanded Format for defining patch configurations. Do you anticipate v2 will have BC breakes, or we should just be able to update out configs to use the new Expanded Format and be off to the races?

I notice the Expanded Format documentation here provides a url property... but for those of us that use local patch file located in our project's file tree, can we simply put a local relative file path here the same way we can in the v1 config, or will there also be a file property that hasn't yet been added to the documentation?

thanks again :)

@steinmb
Copy link

steinmb commented Apr 3, 2023

First of, thank you, thank you, for working on this. This look fantastic.

I was missing a section about security. Trusting external stored patches, and best practice to mitigate this. Supply chain attacks are "quite popular" and applying/trusting external patches might also be an extra attack vector to be aware of.

@gitressa
Copy link

Looking good, thanks! Perhaps updating the Patching projects using Composer documentation page on Drupal.org can be added to the list? It's one of the top result in search engines looking for drupal composer patch "drupal 10".

@arderyp
Copy link

arderyp commented Apr 29, 2023

@gitressa thats what brought me here as well

@gitressa
Copy link

gitressa commented May 3, 2023

Thanks for the thumbs up @cweagans! Maybe add it to the list, so it gets remembered? :)

@github-actions github-actions bot removed the no-stale label Jul 2, 2023
@Ambient-Impact
Copy link

Hey, just wanted to say thanks for all your awesome work on this. I think I probably posted a slightly grumpy thing a while back about patches from dependencies not being supported, so sorry about that. I know how much work this stuff is and how open source can often be a thankless sort of endeavour.

@geek-merlin
Copy link

Wow, what i see is awesome, and i trustfully jumped into the beta testers boat!

@geek-merlin
Copy link

composer patches-add

I created and maintain https://gitlab.com/geeks4change/packages/treetool for that purpose. Feel free to steal from there, relicensing hereby granted.

@charlieartist
Copy link

Thanks for the great work! Would it be possible to add the capability to have different patches per environment (staging, production)? Reason I ask is that I have some projects that require specific modifications of code, that unfortunately can't be managed by existing configuration.

@BramDriesen
Copy link

BramDriesen commented Nov 22, 2023

EDIT: Ignore me, not had a coffee yet 😅

@cweagans
Copy link
Owner Author

I think pretty much everything here is done. I'm going to close this out and handle any remaining tasks separately.

@cweagans cweagans unpinned this issue Feb 21, 2024
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

No branches or pull requests

8 participants