eiffel-community / eiffel-remrem-publish

eiffel-remrem-publish
https://eiffel-community.github.io/eiffel-remrem-publish
Apache License 2.0
8 stars 77 forks source link

Cannot build REMReM due to Jitpack is down #254

Closed e-backmark-ericsson closed 1 year ago

e-backmark-ericsson commented 1 year ago

Description

_Issue copied from the Eiffel Community mail list_

It seems jitpack is down for a while, any workaround for this issue?

eiffel-remrem-publish$ mvn clean install
yWARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
Downloading from [jitpack.io:](https://protect2.fireeye.com/v1/url?k=31323334-501cfaf3-313273af-454445554331-9d862ecfaf103a03&q=1&e=753239a3-ab57-425c-8db2-5492d1bee98a&u=http%3A%2F%2Fjitpack.io%2F) [https://jitpack.io/com/github/eiffel-community/eiffel-remrem-parent/2.0.4/eiffel-remrem-parent-2.0.4.pom](https://protect2.fireeye.com/v1/url?k=31323334-501cfaf3-313273af-454445554331-8ed58f61ebb12631&q=1&e=753239a3-ab57-425c-8db2-5492d1bee98a&u=https%3A%2F%2Fjitpack.io%2Fcom%2Fgithub%2Feiffel-community%2Feiffel-remrem-parent%2F2.0.4%2Feiffel-remrem-parent-2.0.4.pom)

Motivation

There should be ways to deal with Jitpack being unresponsive

Exemplification

N/A

Benefits

Stable build system

Possible Drawbacks

None

magnusbaeck commented 1 year ago

Works fine here:

$ curl -I https://jitpack.io/com/github/eiffel-community/eiffel-remrem-parent/2.0.4/eiffel-remrem-parent-2.0.4.pom
HTTP/1.1 200 Connection established

HTTP/2 200 
date: Fri, 21 Oct 2022 08:01:57 GMT
content-type: text/xml
content-length: 6590
cf-ray: 75d877dd0f32b8de-AMS
accept-ranges: bytes
age: 21
cache-control: max-age=633430, stale-if-error=633430
etag: 019cc9d09b58b7c81e91abccf864ea8774ba2b1b
last-modified: Thu, 20 Oct 2022 14:42:40 Z
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: Accept-Encoding
cf-cache-status: HIT
artifact: com.github.eiffel-community:eiffel-remrem-parent:2.0.4
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
x-jp-cf: 1
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=h8zyrIwJk1c8TkEfy0LLOX8tTJ%2FHSq%2FZyoxz%2BM%2FGkQw52eGjDROst%2FsPJG721XvPT%2FBRB1gavhYF1Ubh5zpkKPBawF2G6LYf4x3F7RWZ9Ydbk6STfm4tnoSLoGM%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
e-backmark-ericsson commented 1 year ago

I believe it was only an issue when Jitpack was down. We should anyway evaluate if there is a way to better handle such outages from our Maven builds.

e-backmark-ericsson commented 1 year ago

We are considering providing support for GitHub packages as a complement/replacement to using Jitpack.

e-backmark-ericsson commented 1 year ago

There is a limit on how much to store in GitHub packages and how much data can be transferred from there: https://docs.github.com/en/billing/managing-billing-for-github-packages/about-billing-for-github-packages. We should consider if that is a too limiting limit for us or not before moving to GitHub packages completely.

m-linner-ericsson commented 1 year ago

For documentation: GitHub packages is described here https://github.com/features/packages

z-sztrom commented 1 year ago

Retested again. Removed all mirrors and cleared all local repositories to force direct download from jitpack.io. It works fine for me.

Downloading: https://jitpack.io/com/github/eiffel-community/eiffel-remrem-parent/2.0.8/eiffel-remrem-parent-2.0.8.pom
Downloaded: https://jitpack.io/com/github/eiffel-community/eiffel-remrem-parent/2.0.8/eiffel-remrem-parent-2.0.8.pom (6 KB at 9.2 KB/sec)

It must have been a temporary issue...

e-backmark-ericsson commented 1 year ago

We cannot reproduce this issue, so we close it now. If the problem comes back we will look into it again.