-
Notifications
You must be signed in to change notification settings - Fork 144
GitLab community pinboard #431
Comments
This comment has been minimized.
This comment has been minimized.
Interested in this |
If you want to actively lead or are interested to be part of this Working Group, add your name to the Wiki page ! If we have a large enough group, we can start our own GitLab Working Group. I started labeling all the GitLab related issues and PRs so we can more easily track them:
PS If you no longer want to receive any messages from this pinboard, feel free to unsubscribe from this issue ticket. |
Added my name to the Wiki. I think one of the first things we need to do is figure out an architecture for how modules should look so we can incrementally move in that direction. For example, some of the older modules use I'm not sure we want to rewrite everything, but having an approach to use for new modules would be ideal and we can work from there to update old ones over time. |
@marwatk I will add you to $team_gitlab as well ! ansible/ansible@152d7b6 |
The more GitLab-Ansible modules there are (which is great), the more a GitLab API abstraction will makes sense. In terms of API there is:
I suggested two [pending] PR last year:
Note that at that time the only issue I could see with If will look at OpenStack modules, they seem to take DRY and NIH seriously in that they:
About support, I think a module that stop working with GitLab.com API should be either dropped, obsoleted or (better) adapted, even if it's still working with self-hosted instances (which can be running at any version of the API). |
About tests, the issue affect all GItLab modules relying on 3rd party services (and there are a lot). That's something core GitLab team should offer some pointers and advises about the road to take. |
I'm currently working on refactoring previous gitlab modules to unify the api call, workflow and input parameters ansible/ansible#51141 . |
Chiming in here....reading every tiny bit, but right now i'm quite busy at work. No room for coding, but of course for helping and discussion. |
Hi all, I'm not sure if I can help/assist with the coding, but can help with discussion/helping/reviewing/testing of modules. I'll add my name to the list in the wiki. Kind regards, |
I forgot to ask and I should look around first but, does Ansible have certain standards where a PR should met with? Not that I say shipit and where someone else would say that certain things should be changed? |
@dj-wasabi The process is explained briefly at: https://docs.ansible.com/ansible/devel/community/development_process.html
We expect a shipit when the reviewer did his best at reviewing the code and testing it for real. If you cannot test it because you lack the infrastructure, please say so when approving the PR, but do not add a shipit! Because people that look for merging PRs most likely can't test the module either, and rely on this information to merge. Modules should be verified and tested by the community before being accepted. |
Here are two checklists for contributors, but are equally useful for reviewers: |
Hi @dagwieers Thank you for your answer(s)! One small thing though, there are no technical "requirements" as in it should pass any pep standard? (I think I read/heard it somewhere that this was coming to Ansible, but not sure if this is already active.) Thanks in advance. Werner |
@dj-wasabi PEP8 testing is enforced by Shippable, like a lot of other sanity tests (and reported back by @ansibot). So if it passes Shippable tests, you know it's fine from that perspective. |
I have initiated a wiki page Gitlab-Module-Guidelines |
Hi, |
@Lunik I updated the guidelines to make parameter validate_certs the standard name. |
If it was Github, it seems legit. But for Gitlab, I don't know 🤔 |
@dagwieers I tend to use gitlab 90% from self-hosted and the rest is hosted on gitlab.com, I'm likely weird, if you think it's what people use most I'm +1 to it. |
@Shaps The only reason for me to propose it as the default is because it's the only real option if we wanted a default. And for people using gitlab.com it wouldn't require this parameter. But if you think it is confusing for (the majority? of) users as they may be using the wrong target and would not understand why things are failing, I would be inclined to NOT do this and explicitly ask for this. Leave it up to you guys to decide... |
The amount of support here is great. And in the meantime both @Shaps and @Lunik stepped forward to lead the Gitlab Working Group. My role will be to help out where I can to advance the Gitlab integration. We are still learning how these communities can help improve contributors and users. I started to write down how I envision the different roles in Working Groups. Feedback and ideas are always welcome. There is room for more people taking up the Lead role, so if you think you have some extra cycles to spare to help grow this community, let me know. The Ansible v2.8 freeze is nearing and we have about a month to get as much as possible reviewed and fixed. Feel free to reach out to @Shaps, @Lunik, @gundalow and me if you need any help. Let's make the upcoming release the best one for Gitlab ever! |
I think ansible/ansible#44055 and ansible/ansible#44069 is not related to gitlab |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
As mentioned in ansible/ansible#39991 (comment), should we add alias on this module to rename it FMI, link to the documentation https://docs.ansible.com/ansible/latest/dev_guide/module_lifecycle.html#changing-a-module-name |
This comment has been minimized.
This comment has been minimized.
Pros/Cons
|
This comment has been minimized.
This comment has been minimized.
I'd think it's premature to take this sole comment (which is one interpretation of the guidelines in the context of a specific MR), as a kind of legal-precedent. #40053 is far from closed :) |
ansible/ansible#53897 Gitlab runner inventory plugin |
New issues have popped up about ansible/ansible#55313 |
@Lunik Either fixing the issue (i.e. float 2.10 is converted to 2.1) or removing the statements because the deprecation window has ended (i.e. feature is removed in v2.9). |
All issues have been fixed and back-ported to Ansible 2.8 |
Can someone make an additional review of ansible/ansible#56574 ? |
Can someone make an additional review on ansible/ansible#60425 ? |
This issue begin to be more and more critical with the time, people start complaining #63448 |
Can we discuss about the relevance of actual unit tests ? |
@Lunik I think the only reason we still have not moved to integration tests is because we don't really have a platform where to test the stuff on. I had started doing some work to implement this with |
@Lunik All the gitlab modules have now been migrated to the community.general collection, we should make an effort on updating them so they are "collection-compatible". Do you think you're going to have some time to spend on it? I think I can spare some time otherwise :) |
@Shaps What are you thinking about ? With the migration there should be a backward compatibility ? |
We could collectively benefit from forming a Working Group related to GitLab integration. We have quite some contributors and users that are interested in improving this integration.
So this issue is a call to potential interested parties (earlier and existing contributors to Ansible). The benefits of having a Working Group is that members of the Working Group can:
Since we don't currently have GitLab infrastructure for automated testing, collaborating on modules like this is important for the quality of the modules.
The text was updated successfully, but these errors were encountered: