Skip to content

Commit ddcd8b3

Browse files
committed
Link OME artifacts to their GitHub repositories
1 parent b09acbd commit ddcd8b3

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

project-url.sh

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,34 @@ processGA() {
2222
test "$g" = "io.scif" && url=https://github.com/scifio/$a
2323
test "$g" = "net.imagej" && url=https://github.com/imagej/$a
2424
test "$g" = "net.imglib2" && url=https://github.com/imglib/$a
25+
if [ "$g" = "ome" ]
26+
then
27+
case "$a" in
28+
bio-formats_plugins|formats-*)
29+
url=https://github.com/ome/bioformats
30+
;;
31+
esac
32+
fi
33+
if [ "$g" = "org.openmicroscopy" ]
34+
then
35+
case "$a" in
36+
ome-common)
37+
url=https://github.com/ome/ome-common-java
38+
;;
39+
metakit)
40+
url=https://github.com/ome/ome-metakit
41+
;;
42+
ome-xml|specification)
43+
url=https://github.com/ome/ome-model
44+
;;
45+
omero-gateway)
46+
url=https://github.com/ome/omero-gateway-java
47+
;;
48+
*)
49+
url=https://github.com/ome/$a
50+
;;
51+
esac
52+
fi
2553
test "$g" = "org.scijava" && url=https://github.com/scijava/$a
2654
if [ "$g" = "sc.fiji" ]
2755
then
@@ -35,7 +63,7 @@ processGA() {
3563
esac
3664
fi
3765
test "$g" = "sc.iview" && url=https://github.com/scenerygraphics/$a
38-
test -z "$url" && exit 1 # no known URL
66+
test "$url" || return # no known URL
3967
echo "$ga $url"
4068
fi
4169
}

0 commit comments

Comments
 (0)