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

allow multiple public-repos to be configured #16

Open
duncdrum opened this issue Oct 3, 2020 · 3 comments
Open

allow multiple public-repos to be configured #16

duncdrum opened this issue Oct 3, 2020 · 3 comments

Comments

@duncdrum
Copy link
Contributor

duncdrum commented Oct 3, 2020

I have tried to point to multiple public repos but don't seem to get it to work as i expect. the following configuration.xml

<repositories>    
    <repository active="true" default="true">https://exist-db.org/exist/apps/public-repo</repository>
    <repository active="true" default="false">http://heml.ddns.net:8080/exist/apps/public-repo/</repository>
</repositories>

expected behavior

should make all the apps from exist's public-repo (58) available plus the ones from the private repo.

actual behavior

no matter what combination of flags i set, only one public repo is available at a given time.

@adamretter
Copy link
Member

Screenshot 2020-10-03 at 17 03 38

@duncdrum
Copy link
Contributor Author

duncdrum commented Oct 3, 2020

@adamretter that the repo in the example was down, is a separate issue. But as described in the op, I couldn’t get two repos to function in parallel irrespective of their html status. The service only pulls packages from one repo at a time

@duncdrum
Copy link
Contributor Author

duncdrum commented Oct 5, 2020

ok here is a reproducer configuration.xml:

<settings>
    <repositories>
        <repository active="true" default="true">https://www.duncdrum.eu/exist/apps/public-repo/</repository>
        <repository active="true" default="false">https://exist-db.org/exist/apps/public-repo/</repository>
    </repositories>
    <readonly>
        <package>http://exist-db.org/apps/existdb-packageservice</package>
        <package>http://exist-db.org/apps/packagemanager</package>
    </readonly>
</settings>

should show 59 available packages (my own repo just has a single test app)
instead
Screenshot 2020-10-05 at 16 43 05

duncdrum added a commit to duncdrum/existdb-packageservice that referenced this issue Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants