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

Test: Custom XML - Ok #38

Closed
rgleason opened this issue Mar 1, 2020 · 1 comment
Closed

Test: Custom XML - Ok #38

rgleason opened this issue Mar 1, 2020 · 1 comment

Comments

@rgleason
Copy link
Contributor

rgleason commented Mar 1, 2020

Using most recent O 5.0.522 (Windows)
On github find a plugin xml file navigate to it and then pick RAW, then use that URL

Enter the URL and press Update Catalog Custom, it ends with screen blink and message "Catalog Update Successful"
https://raw.githubusercontent.com/OpenCPN/plugins/master/ocpn-plugins.xml

https://raw.githubusercontent.com/OpenCPN/plugins/Beta/ocpn-plugins.xml

https://raw.githubusercontent.com/OpenCPN/plugins/Alpha/ocpn-plugins.xml

https://raw.githubusercontent.com/OpenCPN/plugins/Beta/metadata/testplugin-plugin-msvc-10.0.14393.xml

https://raw.githubusercontent.com/OpenCPN/plugins/Beta/metadata/weather_routing-plugin-msvc-10.0.14393.xml

Here is one using my plugin repository's rg-alpha branch which is usiing a meta-url that is seen in the Alpha branch. It also works.

https://raw.githubusercontent.com/rgleason/plugins/rg-alpha/ocpn-plugins.xml

https://raw.githubusercontent.com/rgleason/plugins/rg-alpha/metadata/weather_routing-plugin-msvc-10.0.14393.xml

Here is one using Cloudsmith xmls which also works for a single plugin.

https://dl.cloudsmith.io/public/rick-gleason/opencpn-plugins-beta/raw/names/weather_routing-msvc-10.0.14393-metadata/versions/1.13.5.+135.033dfa3/weather_routing-plugin-msvc-10.0.14393.xml

When you pick a file that does not exist or is not the right environment there is an appropriate message.

What doesn;'t work, but would be very handy for a number of reasons, is to be able to Browse to a local folder, say in the local github directory under the local 'plugin' repository,, entering something like this

C:\Users\Rick\Documents\GitHub\plugins\opcn-plugins.xml

Then we would not have to push to test. (This is useful when the XML up on Cloudsmith needs to be fixed due to pathnames or something.) May be an infresquent need however (hopefully).

@rgleason
Copy link
Contributor Author

Closing, cleanup

jongough added a commit that referenced this issue Jun 17, 2020
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

1 participant