2019-08-14 00:07:10 +02:00
|
|
|
#!/bin/bash
|
2018-12-28 21:59:37 +01:00
|
|
|
|
2018-12-29 11:24:56 +01:00
|
|
|
#=================================================
|
2019-08-14 00:07:10 +02:00
|
|
|
# COMMON VARIABLES
|
2018-12-29 11:24:56 +01:00
|
|
|
#=================================================
|
|
|
|
|
2023-06-14 09:40:30 +02:00
|
|
|
nodejs_version="18"
|
2020-04-28 19:44:03 +02:00
|
|
|
|
2018-12-28 21:59:37 +01:00
|
|
|
#=================================================
|
2019-08-14 00:07:10 +02:00
|
|
|
# PERSONAL HELPERS
|
2018-12-28 21:59:37 +01:00
|
|
|
#=================================================
|
2018-12-30 16:00:54 +01:00
|
|
|
|
2024-03-22 00:02:23 +01:00
|
|
|
jupyterlab_upstream_version() {
|
2024-03-21 23:29:19 +01:00
|
|
|
upstream_repository=$(ynh_read_manifest --manifest_key='upstream.code')
|
|
|
|
upstream_url=$(ynh_read_manifest --manifest_key='resources.sources.main.url')
|
|
|
|
upstream_commit=$(echo "$upstream_url" | sed -e "s|^${upstream_repository}/archive/refs/tags/\(.*\)\.tar\.gz|\1|")
|
|
|
|
echo "$upstream_commit"
|
|
|
|
}
|
|
|
|
|
2018-12-30 16:00:54 +01:00
|
|
|
#=================================================
|
2019-08-14 00:07:10 +02:00
|
|
|
# EXPERIMENTAL HELPERS
|
2018-12-30 16:00:54 +01:00
|
|
|
#=================================================
|
|
|
|
|
2018-12-28 21:59:37 +01:00
|
|
|
#=================================================
|
2019-08-14 00:07:10 +02:00
|
|
|
# FUTURE OFFICIAL HELPERS
|
2018-12-28 21:59:37 +01:00
|
|
|
#=================================================
|