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

Add support for SVN sources in @wordpress/env #33499

Open
juanmaguitar opened this issue Jul 16, 2021 · 1 comment
Open

Add support for SVN sources in @wordpress/env #33499

juanmaguitar opened this issue Jul 16, 2021 · 1 comment
Labels
[Type] Enhancement A suggestion for improvement. [Type] Project Management Meta-issues related to project management of Gutenberg

Comments

@juanmaguitar
Copy link
Contributor

juanmaguitar commented Jul 16, 2021

What problem does this address?

I'm trying to create a .wp-env.json to recreate with the @wordpress/env package the development environment needed for DevHub as explained here
https://make.wordpress.org/docs/handbook/devhub/

There are several plugins required for this environment that doesn't seem to have a .zip available and are only available through their SVN addresses, for example:

Is there any current way to deal with these SVN addresses or these types of internal plugins?

This is what I'm trying to use but the SVN sources are not recognized

.wp-env.json

{
  "plugins": [
    "WordPress/phpdoc-parser",
    "https://downloads.wordpress.org/plugin/jetpack.9.9.zip",
    "https://meta.svn.wordpress.org/sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/",
    "https://meta.svn.wordpress.org/sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-markdown/",
    "https://meta.svn.wordpress.org/sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-cli/"

  ],
  "themes": [
    "https://meta.svn.wordpress.org/sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/"
  ]
}

There is a conversation about this in #20325 and the solution suggested was that .zip support should be enough for all cases but I think there are no .zip version of these internal plugins

What is your proposed solution?

Add support for SVN sources so internal plugins can also be managed by @wordpress/env

@ryanwelcher
Copy link
Contributor

@juanmaguitar this seems like a feature request. I'm going to remove the docs-related labels but if I am mistaken, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement. [Type] Project Management Meta-issues related to project management of Gutenberg
Projects
None yet
Development

No branches or pull requests

4 participants