tangled
alpha
login
or
join now
mpadge.tngl.sh
/
osmdata
0
fork
atom
R package for downloading OpenStreetMap data
0
fork
atom
overview
issues
pulls
pipelines
add 'push-to-elsewhere' workflow for #388
mpadge.tngl.sh
5 months ago
bd1fdee6
cb190e41
+51
-2
4 changed files
expand all
collapse all
unified
split
.github
.gitignore
workflows
push-to-elsewhere.yaml
DESCRIPTION
codemeta.json
+1
.github/.gitignore
···
1
1
+
*.html
+48
.github/workflows/push-to-elsewhere.yaml
···
1
1
+
# HOWTO generate personal token on codeberg:
2
2
+
# 1. Personal settings -> Applications -> Generate new token
3
3
+
# 2. Grant access to repo read/write
4
4
+
#
5
5
+
# HOWTO on gitlab:
6
6
+
# Repo Settings ->
7
7
+
# Repository ->
8
8
+
# Protected Branches ->
9
9
+
# Unprotect master (or whichever) branch
10
10
+
#
11
11
+
# TODO on github:
12
12
+
# Store all necessary variables as secrets, including passwords with secret
13
13
+
# names as specified below:
14
14
+
# - UNAME, EMAIL for git config
15
15
+
# - CODEBERG for codeberg.org token
16
16
+
17
17
+
name: push-to-gitlab
18
18
+
19
19
+
on:
20
20
+
push:
21
21
+
branches:
22
22
+
- main
23
23
+
pull_request:
24
24
+
branches:
25
25
+
- main
26
26
+
27
27
+
jobs:
28
28
+
build:
29
29
+
runs-on: ubuntu-latest
30
30
+
31
31
+
# push won't mirror if commit message contains "[nopush]"
32
32
+
if: "!(contains(github.event.head_commit.message, '[nopush]'))"
33
33
+
34
34
+
steps:
35
35
+
- uses: actions/checkout@v2
36
36
+
37
37
+
- name: Git setup
38
38
+
run: |
39
39
+
sudo git config --global user.name ${{secrets.UNAME}}
40
40
+
sudo git config --global user.email ${{secrets.EMAIL}}
41
41
+
sudo git clone https://${{secrets.UNAME}}:${{secrets.GH_TOKEN}}@github.com/ropensci/osmdata
42
42
+
sudo git fetch --unshallow origin
43
43
+
sudo git remote add codeberg https://${{secrets.UNAME}}:${{secrets.CODEBERG}}@codeberg.org/ropensci/osmdata.git
44
44
+
sudo git remote add sourcehut https://${{secrets.UNAME}}:${{secrets.SOURCEHUT}}@sr.ht/mpadge/osmdata.git
45
45
+
sudo git remote add gitlab https://${{secrets.UNAME}}:${{secrets.GITLAB}}@gitlab.com/ropensci/osmdata.git
46
46
+
sudo git push codeberg main
47
47
+
sudo git push sourcehut main
48
48
+
sudo git push gitlab main
+1
-1
DESCRIPTION
···
1
1
Package: osmdata
2
2
Title: Import 'OpenStreetMap' Data as Simple Features or Spatial Objects
3
3
-
Version: 0.3.0.9006
3
3
+
Version: 0.3.0.9007
4
4
Authors@R: c(
5
5
person("Joan", "Maspons", , "joanmaspons@gmail.com", role = c("aut", "cre"),
6
6
comment = c(ORCID = "0000-0003-2286-8727")),
+1
-1
codemeta.json
···
11
11
"codeRepository": "https://github.com/ropensci/osmdata",
12
12
"issueTracker": "https://github.com/ropensci/osmdata/issues",
13
13
"license": "https://spdx.org/licenses/GPL-3.0",
14
14
-
"version": "0.3.0.9006",
14
14
+
"version": "0.3.0.9007",
15
15
"programmingLanguage": {
16
16
"@type": "ComputerLanguage",
17
17
"name": "R",