Wow that was exciting - we as the GeoNetwork team managed to break a lot of java projects around the world
How we did it:
-
In an earlier life (say GeoNetwork 2.x) a maven repository was included as a submodule for things that could not be found officially online.
https://github.com/geonetwork/core-maven-repo -
Then at some point builds referenced the
raw
GitHub endpoint:
https://raw.githubusercontent.com/geonetwork/core-maven-repo/master -
Jeroen got a warning from GitHub two years ago, and we setup repo.osgeo.org geonetwork-cache to cache the above location
-
Yesterday GitHub cut off access to the raw location (maybe they sent a letter)
-
This caused geonetwork-cache to start collecting timeouts, and thus zero byte files
For everyone using repo.osgeo.org “release”, so they are all broken this morning
I could not figure out a way to remove such files from repo.osgeo.org geonetwork-cache. But I was able to remove geonetwork-cache from repo.osgeo.org release.
It is my hope that this will fix everything for the java ecosystem, however I have not yet got confirmation if this step has helped.
There is a risk all the other repositories have cached zero sized “releases” and will be stuck. If so this will be a very expensive mistake (and we should issue an apology.)
It is my hope that this limits problems to the core-geonetwork community only:
- Chances are developers that already have stuff in their local repository will not notices
- Build servers that start with a fresh local repository should be broken if they ask anything unique / old
(For example like our custom Saxon patches)
Action:
-
We can apologize to everyone, these things happen.
-
GeoNetwork team should collect anything we care about from an old revision:
https://github.com/geonetwork/core-maven-repo/tree/56d8d6e6d373b0f13306e09519c3ee1508a1636cAnd upload it to geonetwork-releases:
-
You can upload using the repo.osgeo.org GUI and your OSGeoID username;
Or use the command line (running from your) core-geonetwork checkout which as the distribution repositories configured.
https://docs.geotools.org/latest/developer/procedures/add.html
Reference:
···
–
Jody Garnett