R package for downloading OpenStreetMap data

add 'push-to-elsewhere' workflow for #388

+51 -2
+1
.github/.gitignore
··· 1 + *.html
+48
.github/workflows/push-to-elsewhere.yaml
··· 1 + # HOWTO generate personal token on codeberg: 2 + # 1. Personal settings -> Applications -> Generate new token 3 + # 2. Grant access to repo read/write 4 + # 5 + # HOWTO on gitlab: 6 + # Repo Settings -> 7 + # Repository -> 8 + # Protected Branches -> 9 + # Unprotect master (or whichever) branch 10 + # 11 + # TODO on github: 12 + # Store all necessary variables as secrets, including passwords with secret 13 + # names as specified below: 14 + # - UNAME, EMAIL for git config 15 + # - CODEBERG for codeberg.org token 16 + 17 + name: push-to-gitlab 18 + 19 + on: 20 + push: 21 + branches: 22 + - main 23 + pull_request: 24 + branches: 25 + - main 26 + 27 + jobs: 28 + build: 29 + runs-on: ubuntu-latest 30 + 31 + # push won't mirror if commit message contains "[nopush]" 32 + if: "!(contains(github.event.head_commit.message, '[nopush]'))" 33 + 34 + steps: 35 + - uses: actions/checkout@v2 36 + 37 + - name: Git setup 38 + run: | 39 + sudo git config --global user.name ${{secrets.UNAME}} 40 + sudo git config --global user.email ${{secrets.EMAIL}} 41 + sudo git clone https://${{secrets.UNAME}}:${{secrets.GH_TOKEN}}@github.com/ropensci/osmdata 42 + sudo git fetch --unshallow origin 43 + sudo git remote add codeberg https://${{secrets.UNAME}}:${{secrets.CODEBERG}}@codeberg.org/ropensci/osmdata.git 44 + sudo git remote add sourcehut https://${{secrets.UNAME}}:${{secrets.SOURCEHUT}}@sr.ht/mpadge/osmdata.git 45 + sudo git remote add gitlab https://${{secrets.UNAME}}:${{secrets.GITLAB}}@gitlab.com/ropensci/osmdata.git 46 + sudo git push codeberg main 47 + sudo git push sourcehut main 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 - Version: 0.3.0.9006 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 - "version": "0.3.0.9006", 14 + "version": "0.3.0.9007", 15 15 "programmingLanguage": { 16 16 "@type": "ComputerLanguage", 17 17 "name": "R",