-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94ee566
commit 8c78dbb
Showing
2 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
extends: ["config:base"], | ||
timezone: "Europe/Zurich", | ||
schedule: "after 5pm on the first day of the month", | ||
labels: ["dependencies"], | ||
separateMajorMinor: true, | ||
separateMinorPatch: true, | ||
prHourlyLimit: 0, | ||
prConcurrentLimit: 0, | ||
lockFileMaintenance: { | ||
enabled: true, | ||
automerge: true, | ||
schedule: "after 5pm on the first day of the month", | ||
}, | ||
baseBranches: ["master"], | ||
"pre-commit": { enabled: true }, | ||
regexManagers: [ | ||
/** Do updates on pre-commit additional dependencies */ | ||
{ | ||
fileMatch: ["^\\.pre\\-commit\\-config\\.yaml$"], | ||
matchStrings: [ | ||
" +- '?(?<depName>[^' @=]+)(@|==)(?<currentValue>[^' @=]+)'? # (?<datasource>.+)", | ||
], | ||
}, | ||
], | ||
packageRules: [ | ||
/** Auto merge the dev dependency update */ | ||
{ | ||
matchDepTypes: ["devDependencies"], | ||
automerge: true, | ||
}, | ||
/** Group and auto merge the patch updates */ | ||
{ | ||
matchUpdateTypes: ["patch"], | ||
groupName: "all patch versions", | ||
automerge: true, | ||
}, | ||
/** Group and auto merge the minor updates */ | ||
{ | ||
matchUpdateTypes: ["minor"], | ||
groupName: "all minor versions", | ||
automerge: true, | ||
}, | ||
/** Group Poetry packages */ | ||
{ | ||
matchPackagePrefixes: ["poetry-"], | ||
groupName: "Poetry", | ||
automerge: true, | ||
matchDepNames: ["poetry", "pip"], | ||
}, | ||
/** Accept only the patch on stabilization branches */ | ||
{ | ||
matchBaseBranches: ["/^[0-9]+\\.[0-9]+$/"], | ||
matchUpdateTypes: [ | ||
"major", | ||
"minor", | ||
"pin", | ||
"digest", | ||
"lockFileMaintenance", | ||
"rollback", | ||
"bump", | ||
], | ||
enabled: false, | ||
}, | ||
/** Support the 4 parts of shellcheck-py version with a v prefix */ | ||
{ | ||
versioning: "regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$", | ||
matchDepNames: ["shellcheck-py/shellcheck-py"], | ||
}, | ||
/** Disable update of Python version in pyproject.toml */ | ||
{ | ||
matchFiles: ["pyproject.toml"], | ||
enabled: false, | ||
matchDepNames: ["python"], | ||
}, | ||
/** Group and auto merge the CI dependencies */ | ||
{ | ||
matchFileNames: [".github/**", ".pre-commit-config.yaml", "ci/**"], | ||
groupName: "CI dependencies", | ||
automerge: true, | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
# python-geoservercloud | ||
|
||
## Installation | ||
|
||
From PyPI: | ||
|
||
```shell | ||
pip install geoservercloud | ||
``` | ||
|
||
From git repository: | ||
|
||
```shell | ||
poetry install | ||
``` | ||
|
||
## Quick start | ||
|
||
```python | ||
from geoservercloud import GeoServerCloud | ||
geoserver = GeoServerCloud( | ||
url="http://localhost:9090/geoserver/cloud/", | ||
user="admin", | ||
password="geoserver", | ||
) | ||
geoserver.create_workspace("newworkspace") | ||
``` |