community.general icon indicating copy to clipboard operation
community.general copied to clipboard

fix style in plugins

Open russoz opened this issue 5 months ago • 2 comments

SUMMARY

Fix style in callback, connection and doc_fragments

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

plugins/become/doas.py plugins/become/ksu.py plugins/become/machinectl.py plugins/become/run0.py plugins/cache/pickle.py plugins/cache/yaml.py plugins/callback/counter_enabled.py plugins/callback/dense.py plugins/callback/diy.py plugins/callback/jabber.py plugins/callback/log_plays.py plugins/callback/loganalytics.py plugins/callback/logdna.py plugins/callback/logentries.py plugins/callback/logstash.py plugins/callback/mail.py plugins/callback/opentelemetry.py plugins/callback/say.py plugins/callback/splunk.py plugins/callback/sumologic.py plugins/callback/syslog_json.py plugins/connection/incus.py plugins/connection/lxd.py plugins/connection/wsl.py plugins/doc_fragments/alicloud.py plugins/doc_fragments/attributes.py plugins/doc_fragments/bitbucket.py plugins/doc_fragments/dimensiondata.py plugins/doc_fragments/django.py plugins/doc_fragments/hwc.py plugins/doc_fragments/influxdb.py plugins/doc_fragments/ipa.py plugins/doc_fragments/ldap.py plugins/doc_fragments/onepassword.py plugins/doc_fragments/oneview.py plugins/doc_fragments/openswitch.py plugins/doc_fragments/oracle.py plugins/doc_fragments/pipx.py plugins/doc_fragments/redfish.py plugins/doc_fragments/redis.py plugins/doc_fragments/utm.py plugins/doc_fragments/xenserver.py

russoz avatar Jun 26 '25 08:06 russoz

cc @Akasurde @None @QijunPan @TommyLike @bcoca @bvitnik @dagwieers @danieljaouen @edisonxiang @freesky-edward @hwDCN @imjoseangel @indrajitr @konstruktoid @kyleabenson @martinm82 @mattclay @niuzhenguo @rgl @ryancurrah @stgraber @theque5t @ujenmr @v1v @xuxiaowei0512 @yanzhangi @zengchen1024 @zhcli @zhongjun2 click here for bot help

ansibullbot avatar Jun 26 '25 08:06 ansibullbot

If no one objects, I am planning on merging this by Monday or Tuesday

russoz avatar Jun 27 '25 23:06 russoz

Backport to stable-10: 💔 cherry-picking failed — conflicts found

❌ Failed to cleanly apply 580ac1e30df27ff2b02344b9ecb550417804ef1f on top of patchback/backports/stable-10/580ac1e30df27ff2b02344b9ecb550417804ef1f/pr-10302

Backporting merged PR #10302 into main

  1. Ensure you have a local repo clone of your fork. Unless you cloned it from the upstream, this would be your origin remote.
  2. Make sure you have an upstream repo added as a remote too. In these instructions you'll refer to it by the name upstream. If you don't have it, here's how you can add it:
    $ git remote add upstream https://github.com/ansible-collections/community.general.git
    
  3. Ensure you have the latest copy of upstream and prepare a branch that will hold the backported code:
    $ git fetch upstream
    $ git checkout -b patchback/backports/stable-10/580ac1e30df27ff2b02344b9ecb550417804ef1f/pr-10302 upstream/stable-10
    
  4. Now, cherry-pick PR #10302 contents into that branch:
    $ git cherry-pick -x 580ac1e30df27ff2b02344b9ecb550417804ef1f
    
    If it'll yell at you with something like fatal: Commit 580ac1e30df27ff2b02344b9ecb550417804ef1f is a merge but no -m option was given., add -m 1 as follows instead:
    $ git cherry-pick -m1 -x 580ac1e30df27ff2b02344b9ecb550417804ef1f
    
  5. At this point, you'll probably encounter some merge conflicts. You must resolve them in to preserve the patch from PR #10302 as close to the original as possible.
  6. Push this branch to your fork on GitHub:
    $ git push origin patchback/backports/stable-10/580ac1e30df27ff2b02344b9ecb550417804ef1f/pr-10302
    
  7. Create a PR, ensure that the CI is green. If it's not — update it so that the tests and any other checks pass. This is it! Now relax and wait for the maintainers to process your pull request when they have some cycles to do reviews. Don't worry — they'll tell you if any improvements are necessary when the time comes!

🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.

patchback[bot] avatar Jul 01 '25 13:07 patchback[bot]

Backport to stable-11: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-11/580ac1e30df27ff2b02344b9ecb550417804ef1f/pr-10302

Backported as https://github.com/ansible-collections/community.general/pull/10325

🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.

patchback[bot] avatar Jul 01 '25 13:07 patchback[bot]

@russoz @rgl thanks!

felixfontein avatar Jul 01 '25 20:07 felixfontein