JSON-Schema-Test-Suite icon indicating copy to clipboard operation
JSON-Schema-Test-Suite copied to clipboard

Document how to use Dependabot to keep a test suite submodule up to date

Open Julian opened this issue 3 years ago • 3 comments

(Via @Relequestual here)

Implementers may appreciate a GitHub action which automatically sends PRs to their repo to update the test suite.

As a concrete example, python-jsonschema has a git-subtree of this suite here, and would benefit from automated pull requests whenever the main branch of this repository is updated.

To do this in general, such a github action would need to be configured with the path within a repo where the subtree lives, likely need to support both git-subtree as well as git-submodule (and possibly git-subrepo), and allow for passing options to the subtree/submodule command (e.g. if someone wanted a git subtree pull --squash to be the PR).

It's unclear that this should live in this precise repo rather than an adjacent one, but putting it here to track/ack the request.

Julian avatar Apr 11 '22 19:04 Julian

You can configure dependabot to update git submodules. .github/dependabot.yml:

version: 2
updates:
  - package-ecosystem: gitsubmodule
    directory: "/"
    schedule:
      interval: daily

or so. No subtrees though (https://github.com/dependabot/dependabot-core/issues/3741), and I hadn't even heard of git-subrepo, looks like it is a third-party addon.

notEthan avatar Aug 16 '22 22:08 notEthan

(Just seeing the comment)

That sounds perfect I think, and I'd forgotten about it -- changing the title to instead just say we should document exactly what you wrote pretty much.

PR welcome from anyone of course to do so.

Julian avatar Dec 29 '22 21:12 Julian

Thank you tell the Gang that I was Arrested and put in Jail for 9 days....It's been an ordeal...the authorities gave me access to nothing I finally got out on my own recognizance, Thanks to a gracious judge and Public defender. I apologize, I have been recouping the past couple days from the escapade....I will be back up and going in the next couple days....they sized and deleted all my devices and debit and credit cards so I couldn't bond out and or hire an attorney....I'm trying to restore all my programs and apps back to my TRI-BREAD OS pat.pending...Thank you all and I love you guys!

On Thu, Dec 29, 2022, 3:50 PM Julian Berman @.***> wrote:

(Just seeing the comment)

That sounds perfect I think, and I'd forgotten about it -- changing the title to instead just say we should document exactly what you wrote pretty much.

PR welcome from anyone of course to do so.

— Reply to this email directly, view it on GitHub https://github.com/json-schema-org/JSON-Schema-Test-Suite/issues/549#issuecomment-1367601682, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3H6XK4YTE7SXTUPNFFAQJ3WPYBRTANCNFSM5TEH35YA . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

Cryptonics1 avatar Jan 03 '23 16:01 Cryptonics1