Skip to content

Commit bb4441a

Browse files
authored
Merge pull request #822 from cvvergara/2445-script-to-retire-a-project
2445 script to retire a project
2 parents 8319d12 + 3bfab52 commit bb4441a

File tree

2 files changed

+83
-43
lines changed

2 files changed

+83
-43
lines changed

projects_info.csv

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
11
# document? | slug | version | Quickstart? | Overview? | Section | last | One Liner | OpenHub name | URL | kind | name|ISO
2-
# 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |13
2+
# 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |13
33
###################### | | | | | | | | | | | |
4-
# Desktop GIS | | | | | | | | | | | |
5-
###################### | | | | | | | | | | ||
6-
# OSGeo Projects | | | | | | | | | | | |
4+
# Desktop GIS | | | | | | | | | | | |
5+
###################### | | | | | | | | | | | |
6+
# OSGeo Projects | | | | | | | | | | | |
77
Y | grass | 8.2.1 | Y | Y | Desktop GIS | | | grass_gis | https://grass.osgeo.org/ | OSGeo_project | GRASS GIS | Y
88
Y | gvsig | 2.4.0 | Y | Y | Desktop GIS | | | gvsig-desktop-2 | http://www.gvsig.com/es | OSGeo_project | gvSIG Desktop | N
99
Y | qgis | 3.28.5 | Y | Y | Desktop GIS | | | qgis | https://www.qgis.org/en/site/ | OSGeo_project | QGIS | Y
10-
# OSGeo Community | | | | | | | | | | | |
11-
# Others | | | | | | | | | | | |
10+
# OSGeo Community | | | | | | | | | | | |
11+
# Others | | | | | | | | | | | |
1212
Y | openjump | 1.15.1 | Y | Y | Desktop GIS | | | openjump_gis | http://www.openjump.org | | OpenJUMP GIS | Y
1313
Y | qfield | 2.7.6 | Y | Y | Desktop GIS | | | qfield | https://qfield.org/ | | QField | N
1414
Y | saga | 8.2.2 | Y | Y | Desktop GIS | | | saga-gis | https://saga-gis.sourceforge.io/en/index.html | | SAGA | Y
1515
Y | udig | 2.0.0RC1 | Y | Y | Desktop GIS | | | udig | http://udig.refractions.net/ | | uDig | N
1616
###################### | | | | | | | | | | | |
1717
# Browser Facing GIS | | | | | | | | | | | |
18-
###################### | | | | | | | | | | ||
19-
# OSGeo Projects | | | | | | | | | | | |
18+
###################### | | | | | | | | | | | |
19+
# OSGeo Projects | | | | | | | | | | | |
2020
Y | geomoose | 3.10.1 | Y | Y | Browser Facing GIS | | Web GIS Portal | geomoose | https://www.geomoose.org | OSGeo_project | GeoMoose | Y
2121
Y | geonode | 3.3.2 | Y | Y | Browser Facing GIS | | Geospatial Content Management System | geonode | https://geonode.org | OSGeo_project | GeoNode | Y
2222
Y | mapbender | 3.3.3 | Y | Y | Browser Facing GIS | | Geoportal Framework | mapbender | https://mapbender.org | OSGeo_project | Mapbender | Y
2323
Y | openlayers | 6.14.1 | Y | Y | Browser Facing GIS | | Browser Mapping Library | openlayers | https://openlayers.org/ | OSGeo_project | OpenLayers | Y
24-
# OSGeo Community | | | | | | | | | | | |
24+
# OSGeo Community | | | | | | | | | | | |
2525
Y | geostyler | 9.0.0 | Y | Y | Browser Facing GIS | | Generic Styler For Geodata | GeoStyler | https://geostyler.org | OSGeo_community | GeoStyler | Y
26-
# Others | | | | | | | | | | | |
26+
# Others | | | | | | | | | | | |
2727
Y | cesium | 1.106 | Y | Y | Browser Facing GIS | | 3D globes and 2D maps in a browser | cesiumjs | https://cesium.com/ | | Cesium | Y
2828
Y | geoext | 3.4.0 | Y | Y | Browser Facing GIS | | JavaScript Toolkit Web Mapping | geoext | https://geoext.github.io/geoext | | GeoExt | Y
2929
Y | leaflet | 1.7.1 | Y | Y | Browser Facing GIS | | Mobile Friendly Interactive Maps | Leaflet | https://leafletjs.com | | Leaflet | Y
3030
###################### | | | | | | | | | | | |
31-
# Web Services | | | | | | | | | | | |
32-
###################### | | | | | | | | | | ||
33-
# OSGeo Projects | | | | | | | | | | | |
31+
# Web Services | | | | | | | | | | | |
32+
###################### | | | | | | | | | | | |
33+
# OSGeo Projects | | | | | | | | | | | |
3434
Y | deegree | 3.4.32 | Y | Y | Web Services | | OGC Web Services | deegree3 | http://www.deegree.org | OSGeo_project | deegree | Y
3535
Y | geonetwork | 3.2.1 | Y | Y | Web Services | | Metadata Catalogue | geonetwork-opensource | https://geonetwork-opensource.org | OSGeo_project | GeoNetwork | Y
3636
Y | geoserver | 2.22.2 | Y | Y | Web Services | | OGC Web Services | geoserver | https://geoserver.org/ | OSGeo_project | GeoServer | Y
3737
Y | mapcache | 1.12.0 | Y | Y | Web Services | | OGC Web Services | mapcache | https://mapserver.org/mapcache | OSGeo_project | MapCache | Y
3838
Y | mapserver | 8.0.1 | Y | Y | Web Services | | OGC Web Services | mapserver | https://mapserver.org | OSGeo_project | MapServer | Y
3939
Y | pycsw | 2.6.1 | Y | Y | Web Services | | Metadata Catalogue | pycsw | https://pycsw.org/ | OSGeo_project | pycsw | Y
4040
Y | pywps | 4.5.1 | Y | Y | Web Services | | Web Processing Service | pyWPS | https://pywps.org/ | OSGeo_project | PyWPS | Y
41-
# OSGeo Community | | | | | | | | | | | |
41+
# OSGeo Community | | | | | | | | | | | |
4242
Y | istsos | 2.4.0 | Y | Y | Web Services | | Sensor Observation Service | istsos | http://istsos.org | OSGeo_community | istSOS | Y
4343
Y | mapproxy | 1.15.1 | Y | Y | Web Services | | Proxy WMS & tile services | mapproxy | https://mapproxy.org/ | OSGeo_community | MapProxy | Y
4444
Y | pygeoapi | 0.15.0 | Y | Y | Web Services | | OGC Web Services | pygeoapi | https://pygeoapi.io/ | OSGeo_project | pygeoapi | Y
4545
Y | zoo-project | 1.9.0 | Y | Y | Web Services | | Web Processing Service | zoo-project | http://zoo-project.org/ | OSGeo_incubation | Zoo Project | Y
46-
# Others | | | | | | | | | | | |
46+
# Others | | | | | | | | | | | |
4747
Y | actinia | 4.2.0 | Y | Y | Web Services | | Processing of Geographical Data | actinia_core | https://actinia.mundialis.de/ | OSGeo_community | actinia | N
4848
Y | eoxserver | 1.1.2 | Y | Y | Web Services | | Web Coverage Service | eoxserver | https://docs.eoxserver.org/en/stable/ | | EOxServer | Y
4949
Y | ETF | 2.0.0 | Y | Y | Web Services | | Testing framework for validating spatial data, metadata and web services in Spatial Data Infrastructures (SDIs) | etf-validator | https://github.com/etf-validator| | ETF | N
@@ -54,77 +54,77 @@ Y | 52nSOS | 5.5.1 | Y | Y | Web Services | | Sensor Observation Service | Senso
5454
Y | 52nWPS | 3.6.3 | Y | Y | Web Services | | Web Processing Service | n52-wps | https://52north.org/software/software-projects/wps | | 52 North WPS | Y
5555
###################### | | | | | | | | | | | |
5656
# Data Stores | | | | | | | | | | | |
57-
###################### | | | | | | | | | | ||
58-
# OSGeo Projects | | | | | | | | | | | |
57+
###################### | | | | | | | | | | | |
58+
# OSGeo Projects | | | | | | | | | | | |
5959
Y | postgis | 3.3.3 | Y | Y | Data Stores | | Spatial Database | postgis | http://postgis.net | OSGeo_project | PostGIS | Y
60-
# OSGeo Community | | | | | | | | | | | |
60+
# OSGeo Community | | | | | | | | | | | |
6161
Y | pgrouting | 3.4.2 | Y | Y | Data Stores | | Routing for PostGIS | pgrouting | https://pgrouting.org/ | OSGeo_community | pgRouting | Y
6262
Y | rasdaman | 10.0.0 | Y | Y | Data Stores | | Multi-Dimensional Raster Database | rasdaman | https://rasdaman.org | OSGeo_incubation | Rasdaman | N
6363
Y | odc | 1.8.9 | Y | Y | Data Stores | | Time-Series Database | odc | https://www.opendatacube.org | OSGeo_community | Open Data Cube | Y
64-
# Others | | | | | | | | | | | |
64+
# Others | | | | | | | | | | | |
6565
Y | spatialite | 5.0.0 | Y | Y | Data Stores | | Lightweight Database | spatialite | http://www.gaia-gis.it/gaia-sins/ | | SpatiaLite | Y
6666
###################### | | | | | | | | | | | |
6767
# Navigation and Maps | | | | | | | | | | | |
6868
###################### | | | | | | | | | | | |
69-
# OSGeo Projects | | | | | | | | | | | |
69+
# OSGeo Projects | | | | | | | | | | | |
7070
Y | marble | 21.12.3 | Y | Y | Navigation and Maps | | Virtual Globe | marble | https://marble.kde.org/ | OSGeo_project | Marble | Y
71-
# OSGeo Community | | | | | | | | | | | |
72-
# Others | | | | | | | | | | | |
71+
# OSGeo Community | | | | | | | | | | | |
72+
# Others | | | | | | | | | | | |
7373
Y | ideditor | 2.21.1 | Y | Y | Navigation and Maps | | OpenStreetMap Web Editor | iD_OSM | https://wiki.openstreetmap.org/wiki/ID | | iD editor | Y
7474
Y | josm | svn18360 | Y | Y | Navigation and Maps | | OpenStreetMap Desktop Editor | josm | https://josm.openstreetmap.de | | JOSM | Y
7575
Y | gpsprune | 21.1.0 | Y | Y | Navigation and Maps | | View, Edit and Convert GPS Tracks | gpsprune | https://activityworkshop.net/software/gpsprune | | GpsPrune | Y
7676
Y | opencpn | 5.6.2 | Y | Y | Navigation and Maps | | Marine GPS Chartplotter | opencpn | https://www.opencpn.org | | OpenCPN | Y
7777
Y | osm | josm (svn15937) | Y | Y | Navigation and Maps | | OpenStreetMap Tools | | https://www.openstreetmap.org/ | | OpenStreetMap | Y
7878
###################### | | | | | | | | | | | |
79-
# Spatial Tools | | | | | | | | | | | |
80-
###################### | | | | | | | | | | ||
81-
# OSGeo Projects | | | | | | | | | | | |
79+
# Spatial Tools | | | | | | | | | | | |
80+
###################### | | | | | | | | | | | |
81+
# OSGeo Projects | | | | | | | | | | | |
8282
N | ossim | 2.9.1 | Y | Y | Spatial Tools | | Image Processing | ossim | http://www.ossim.org/ | OSGeo_project | OSSIM | Y
8383
Y | otb | 8.1.0 | Y | Y | Spatial Tools | | Image Processing | otb | https://www.orfeo-toolbox.org/ | OSGeo_project | OTB | Y
84-
# OSGeo Community | | | | | | | | | | | |
85-
# Others | | | | | | | | | | | |
84+
# OSGeo Community | | | | | | | | | | | |
85+
# Others | | | | | | | | | | | |
8686
Y | gmt | 6.3.0 | Y | Y | Spatial Tools | 11 | Cartographic Rendering | GMT | https://www.generic-mapping-tools.org | | GMT | N
8787
Y | jupyter | 4.9.1 | Y | Y | Spatial Tools | | Mixing rich media in presentations | jupyter_notebook | https://jupyter.org/ | | Jupyter Notebook | Y
8888
Y | mapnik | 3.1.0 | Y | Y | Spatial Tools | | Cartographic Rendering | mapnik | https://mapnik.org/ | | Mapnik | Y
8989
Y | R | 4.1.2 | Y | Y | Spatial Tools | | Statistical Programming | R_project | https://cran.r-project.org | | R | Y
9090
###################### | | | | | | | | | | | |
91-
# Domain Specific GIS | | | | | | | | | | | |
91+
# Domain Specific GIS | | | | | | | | | | | |
9292
###################### | | | | | | | | | | | |
93-
# OSGeo Projects | | | | | | | | | | | |
94-
# OSGeo Community | | | | | | | | | | | |
95-
# Others | | | | | | | | | | | |
93+
# OSGeo Projects | | | | | | | | | | | |
94+
# OSGeo Community | | | | | | | | | | | |
95+
# Others | | | | | | | | | | | |
9696
Y | xygrib | 1.2.6 | Y | Y | Domain Specific GIS | | Weather Forecast Maps | | https://opengribs.org/en | | XyGrib | Y
9797
###################### | | | | | | | | | | | |
98-
# Data | | | | | | | | | | | |
98+
# Data | | | | | | | | | | | |
9999
###################### | | | | | | | | | | | |
100-
# OSGeo Projects | | | | | | | | | | | |
101-
# OSGeo Community | | | | | | | | | | | |
102-
# Others | | | | | | | | | | | |
100+
# OSGeo Projects | | | | | | | | | | | |
101+
# OSGeo Community | | | | | | | | | | | |
102+
# Others | | | | | | | | | | | |
103103
Y | naturalearth | | N | Y | Data | | Global Data Sets | | https://www.naturalearthdata.com/ | | Natural Earth | Y
104104
Y | nc_dataset | | N | Y | Data | | | | https://wiki.osgeo.org/wiki/Category:Education | | North Carolina USA Educational dataset | Y
105105
Y | netcdf_dataset | | N | Y | Data | | Time series temperature and precipitation | | https://wiki.osgeo.org/wiki/Category:Education | | NetCDF Data Set | Y
106106
Y | osm_dataset | | N | Y | Data | | Sample extract from OpenStreetMap | | https://www.openstreetmap.org/ | | OpenStreetMap | Y
107107
###################### | | | | | | | | | | | |
108-
# Geospatial Libraries | | | | | | | | | | ||
108+
# Geospatial Libraries | | | | | | | | | | | |
109109
###################### | | | | | | | | | | | |
110-
# OSGeo Projects | | | | | | | | | | | |
110+
# OSGeo Projects | | | | | | | | | | | |
111111
Y | gdal | 3.6.4 | Y | Y | Geospatial Libraries | | Geospatial Data Translation Tools | gdal | https://gdal.org/ | OSGeo_project | GDAL/OGR | Y
112112
Y | geos | 3.11.1 | N | Y | Geospatial Libraries | | C/C++ Spatial Library | geos | https://trac.osgeo.org/geos | OSGeo_project | GEOS | Y
113113
Y | geotools | NA | N | Y | Geospatial Libraries | | Java GIS Toolkit | geotools | https://geotools.org/ | OSGeo_project | GeoTools | Y
114114
Y | proj | 9.1.1 | Y | Y | Geospatial Libraries | | Coordinate Reference System Libraries | proj | https://proj.org/ | OSGeo_project | PROJ | Y
115-
# OSGeo Community | | | | | | | | | | | |
116-
# Others | | | | | | | | | | | |
115+
# OSGeo Community | | | | | | | | | | | |
116+
# Others | | | | | | | | | | | |
117117
Y | jts | NA | N | Y | Geospatial Libraries | | Java Topology Suite | jts-topo-suite | https://projects.eclipse.org/projects/locationtech.jts | | JTS | Y
118118
N | pdal | 2.5.0 | Y | Y | Geospatial Libraries | | Pointcloud and LiDAR Data Access | pdal | https://pdal.io | | PDAL | Y
119119
###################### | | | | | | | | | | | |
120-
# Geospatial Standards | | | | | | | | | | ||
120+
# Geospatial Standards | | | | | | | | | | | |
121121
###################### | | | | | | | | | | | |
122-
# Others | | | | | | | | | | | |
122+
# Others | | | | | | | | | | | |
123123
Y | ogc | NA | N | Y | Geospatial Standards | | Open Geospatial Consortium | | https://www.ogc.org | | OGC | Y
124124
Y | inspire | NA | N | Y | Geospatial Standards | | Infrastructure for Spatial Information in Europe | | https://inspire.ec.europa.eu/about-inspire/563 | | INSPIRE | Y
125125
###################### | | | | | | | | | | | |
126126
# RETIRED | | | | | | | | | | | |
127-
###################### | | | | | | | | | | ||
127+
###################### | | | | | | | | | | | |
128128
N | mapslicer | 1.0rc2 | Y | Y | Spatial Tools | | Create Map Tiles | | https://mapproxy.org/ | | MapSlicer | Y
129129
N | geomajas | 2.4.0 | Y | Y | Browser Facing GIS | | Browser GIS Client | geomajas | http://www.geomajas.org | OSGeo_project | Geomajas | Y
130130
N | liblas | 1.8.1 | Y | Y | Geospatial Libraries | | LiDAR Data Access | liblas | https://liblas.org/ | | libLAS | N
@@ -137,7 +137,7 @@ N | mapfish | retired | Y | Y | | 7.9 | Web Mapping Framework, retired after OSG
137137
N | mapguide | retired | Y | Y | | 5 | Web Service, not included after OSGeoLive 5.0 (to save disk space) | mapguide | https://mapguide.osgeo.org/ | OSGeo_project | MapGuide Open Source | N
138138
N | mapwindow | retired | Y | Y | Other software of interest (not available Live) | | Microsoft Windows based Desktop GIS | mapwindow | | | MapWindow GIS Lite | N
139139
N | tilemill | retired | Y | Y | | 9.5 | Styling and Publishing, retired after OSGeoLive 9.5 | | http://www.tilemill.com | | TileMill | N
140-
N | tomcat | | N | N | | | | | | | | N
140+
N | tomcat | | N | N | | | | | | | | N
141141
N | webworldwind | | Y | Y | | | | | http://webworldwind.org/ | | WebWorldWind | N
142142
N | geokettle | retired | Y | Y | Spatial Tools | 11 | ETL (Extract, Transform and Load) Tool | geokettle | http://www.geokettle.org/ | | GeoKettle | N
143143
N | iris | retired | Y | Y | Geospatial Libraries | 11 | Meteorology and Climatology | python-iris | http://scitools.org.uk/iris/ | | Iris | N

scripts/retire_project.sh

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
VERSION=$(($(grep 'OSGeoLiveDoc_VERSION_MAJOR' CMakeLists.txt | grep -Eo '[0-9]*') -1))
6+
7+
# Make sure no double spaces
8+
tr -s ' ' < projects_info.csv > temp.txt && mv temp.txt projects_info.csv
9+
# Make sure space between '||'
10+
perl -pi -e 's/\|\|/\| \|/' projects_info.csv
11+
12+
if [ -z "$1" ]
13+
then
14+
echo "Usage from the root of the repository:"
15+
echo "bash scripts/retire_project.sh <project slugs>"
16+
echo "Example:"
17+
echo "bash scripts/retire_project.sh slug1 slug2"
18+
echo "A commit per slug will be generated"
19+
fi
20+
21+
22+
PROJECTS=$@
23+
echo "$PROJECTS"
24+
for d in ${PROJECTS} ; do
25+
echo "---------------------"
26+
echo "--- PROCESSING $d ---"
27+
echo "---------------------"
28+
COMMIT_MSG="[${d}] retire a project"
29+
30+
line=$(git grep -h "${d}" projects_info.csv)
31+
newline="${line/[Y|N]/N}"
32+
newline="${newline/|[ |$VERSION]|/| $VERSION |}"
33+
grep -v "${d}" projects_info.csv > _temp.csv && mv _temp.csv projects_info.csv
34+
echo $newline >> projects_info.csv
35+
36+
echo "${COMMIT_MSG}"
37+
git rm -q $(git ls-files | grep "${d}")
38+
git add projects_info.csv
39+
git commit -m "${COMMIT_MSG}"
40+
done

0 commit comments

Comments
 (0)