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

Reposilite 2.9.23 build fails due to net.dzikoysk:cdn:1.8.0 missing #780

Closed
benalexau opened this issue Oct 7, 2021 · 3 comments
Closed
Labels
bug Bugs & errors found in Reposilite

Comments

@benalexau
Copy link

What happened?

$ cd /tmp
$ wget https://github.com/dzikoysk/reposilite/archive/2.9.23.tar.gz
$ tar -xf 2.9.23.tar.gz 
$ cd reposilite-2.9.23
$ rm -rf ~/.m2/repositories

$ mvn package
[....log output....]
Downloading from panda-repository: https://repo.panda-lang.org/net/dzikoysk/cdn/1.8.0/cdn-1.8.0.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/dzikoysk/cdn/1.8.0/cdn-1.8.0.pom
[WARNING] The POM for net.dzikoysk:cdn:jar:1.8.0 is missing, no dependency information available

$ ls ~/.m2/repository/net/dzikoysk/cdn/1.8.0/
cdn-1.8.0.pom.lastUpdated

The aforementioned artifact is not published on Maven Central. It is only published in panda-repository. As this version used to build without any issue (I run an automatic weekly binary packaging action for Arch Linux) I suspect a configuration change to the Reposilite instance hosting the latter repository is no longer accepting requests if they omit /releases.

Verification:

$ curl -I -s -w "%{http_code}\n" -o /dev/null https://repo.panda-lang.org/net/dzikoysk/cdn/1.8.0/cdn-1.8.0.pom
404
$ curl -I -s -w "%{http_code}\n" -o /dev/null https://repo.panda-lang.org/releases/net/dzikoysk/cdn/1.8.0/cdn-1.8.0.pom
200

The issue is the pom.xml doesn't include releases:

$ grep panda-lang.org -B 3 -A 1 ./src/reposilite-2.9.23/reposilite-backend/pom.xml 
        <repository>
            <name>Panda Repository</name>
            <id>panda-repository</id>
            <url>https://repo.panda-lang.org/</url>
        </repository>

Would you please either release a 2.9.x that includes releases or modify the configuration of the https://repo.panda-lang.org to allow omitting the path?

Reposilite version

2.x

Relevant log output

No response

@benalexau benalexau added the bug Bugs & errors found in Reposilite label Oct 7, 2021
@dzikoysk
Copy link
Owner

dzikoysk commented Oct 7, 2021

Right, we need to update repository for 2.x, because Reposilite 3.x does not support this method.

dzikoysk added a commit that referenced this issue Oct 7, 2021
* GH-780 Update repository URL, bump dependencies and update workflow

* GH-780 Mark sources as 2.9.25, apply migration changes

* GH-780 Fix tests that were affected by previous changes
@dzikoysk dzikoysk closed this as completed Oct 7, 2021
@dzikoysk
Copy link
Owner

dzikoysk commented Oct 7, 2021

@benalexau
Copy link
Author

Thanks @dzikoysk. I confirm 2.9.25 builds without issue.

benalexau added a commit to benalexau/aur-repo that referenced this issue Oct 8, 2021
This package was temporarily removed due to the build issue reported
in dzikoysk/reposilite#780

This reverts commit 8f6b7a8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs & errors found in Reposilite
Projects
None yet
Development

No branches or pull requests

2 participants