Comments (11)
Hello,
I'm happy to provide a PR if need be; just checking though - I'm not sure how active this project is; is there a chance that it would be accepted / released?
from gitlabform.
Hi @weakcamel , sorry for a late reply! Sure that PR is welcome, I will merge it and release a new version within a day or two after it is created.
from gitlabform.
gitlabform
does install on my MacOS High Sierra (10.13.6 (17G65)) without issues:
(test) gdubicki@mac ~ $ pip install gitlabform
Collecting gitlabform
Using cached https://files.pythonhosted.org/packages/cf/bb/602df59fdd89213901196ad9220eb2fc28830ff5abed520780bf9da7cf06/gitlabform-1.0.0-py3-none-any.whl
Collecting pyyaml==3.12 (from gitlabform)
Collecting requests==2.18.4 (from gitlabform)
Using cached https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests==2.18.4->gitlabform)
Downloading https://files.pythonhosted.org/packages/df/f7/04fee6ac349e915b82171f8e23cee63644d83663b34c539f7a09aed18f9e/certifi-2018.8.24-py2.py3-none-any.whl (147kB)
100% |████████████████████████████████| 153kB 2.8MB/s
Collecting urllib3<1.23,>=1.21.1 (from requests==2.18.4->gitlabform)
Using cached https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests==2.18.4->gitlabform)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.7,>=2.5 (from requests==2.18.4->gitlabform)
Using cached https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl
Installing collected packages: pyyaml, certifi, urllib3, chardet, idna, requests, gitlabform
Successfully installed certifi-2018.8.24 chardet-3.0.4 gitlabform-1.0.0 idna-2.6 pyyaml-3.12 requests-2.18.4 urllib3-1.22
(test) gdubicki@mac ~ $ python -V
Python 3.6.5
(test) gdubicki@mac ~ $ gitlabform -h
usage: gitlabform [-h] [-c CONFIG] [-v | -d] [--strict]
[--start-from START_FROM] [-n]
project_or_group
Easy configuration as code tool for GitLab using config in plain YAML.
(...)
..but if upgrade of pyyaml will help you and won't break anything then that PR is still very welcome.
from gitlabform.
Fixed in v1.0.1.
from gitlabform.
Oops, sorry - I lost this one out of my sight for a while.
Many thanks for the fix and I can confirm it's solving the problem!
A side quesion: while pinning the dependencies on specific versions improves stability of gitlabform
, it also freezes them for the user forever.
It's not a big deal of course, one can alsways use virtualenv
but it might be a bit of an issue for OS-installed or global pip packages.
What do you think about loosening it a bit and requiring minimum versions of the dependencies?
from gitlabform.
I could do that but this could cause me dealing with reports of bugs related to various, incompatible sets of dependencies installed on users machines.
I think that a better solution would be to provide a package with gitlabform for a few Linux distros, Mac and maybe Windows.
I'll create myself a ticket for that, but as usual help would be most welcome. Perhaps you could create a package for homebrew, @weakcamel ?
from gitlabform.
That's fair enough.
I'm sure a package for Linux would be welcome by many.
If you mean it as alternative for relaxing dependencies, I'm not sure I follow. If the same dependencies to specific versions are repeated in e.g. an RPM, wouldn't it lock users to those versions even further?
from gitlabform.
I am thinking about RPM that would use virtualenv to not use system wide Python packages.
from gitlabform.
Yes, that would work however at a cost of size and making packages per arch/platform, unless you mean to skip the binaries somehow.
Dunno :) Might help some people, personally I'm happy with the lightweight pip version.
from gitlabform.
I have just released v. 1.0.2 with requests
version set to >=2.20.0
because of a security issue in <2.20.0 GitHub notified me about.
I hope that this will solve problems, not create new ones.
from gitlabform.
Hi. Always install in a virtualenv. You can use pipenv to manage it automatically. Work great
from gitlabform.
Related Issues (20)
- 3.9.0 appears to break while setting a project webhook with a token HOT 8
- Transfer project does not work when gitlabform run with ALL_DEFINED or ALL as the target HOT 2
- Uploading Project Avatar HOT 6
- Merge request approvals settings of group HOT 4
- Feature Flags support HOT 5
- Add retry feature HOT 2
- CI/CD settings: Whitelist project for Token Access HOT 1
- merge_requests_approval_rules does not respect protected_branches and breaks execution HOT 8
- [backward incompatible] Add ENTRYPOINT to the Dockerfile HOT 1
- Project transfer failing with --noop
- Error when output file flag is used with dry-run project transfer
- Add your company logo and link to the users list!
- Processing group fails if it has more than 20 members
- Add support for adding a single deploy key to multiple projects in a namespace/group as a non-administrator HOT 3
- Add 'enforce' support for integrations config HOT 3
- Drop python < 3.12 HOT 3
- KNOWN ISSUE: 3.11.0 has not been deployed to GitHub Packages (container registry) HOT 1
- GitLab 17.0 Issues HOT 1
- Incorrect order of gitlab API call for`members`, `merge_requests_approval_rules`, `branches` provided for a project HOT 4
- Project members setting ignores case
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitlabform.