[wp-meta] [Making WordPress.org] #1722: Generate a plugins.svn authentication file
Making WordPress.org
noreply at wordpress.org
Thu Jun 2 11:16:23 UTC 2016
#1722: Generate a plugins.svn authentication file
-----------------------------------+---------------------------------------
Reporter: dd32 | Owner: pento
Type: task | Status: assigned
Priority: high | Milestone: Plugin Directory v3 - M5
Component: Plugin Directory | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+---------------------------------------
Changes (by pento):
* keywords: => has-patch 2nd-opinion
Comment:
@dd32: Can you sanity check this patch? It's a bit weird to be `exit()`ing
a REST API endpoint, but that'll make it easiest to integrate with the
existing SVN server.
The output is 2 lines longer than the existing script, because it doesn't
`trim()` the newlines off each end.
To grab the file:
{{{
curl -H "Authorization: PLUGIN_API_INTERNAL_BEARER_TOKEN"
https://wordpress.org/plugins-wp/wp-json/plugins/v1/svn-access
}}}
(With the correct `PLUGIN_API_INTERNAL_BEARER_TOKEN`, of course.)
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1722#comment:6>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list