Skip to content
Snippets Groups Projects
  1. Mar 03, 2025
  2. Feb 27, 2025
  3. Feb 26, 2025
  4. Feb 25, 2025
    • Jarod Wilson's avatar
      Merge: elnhook: initial commit · 1bf2940d
      Jarod Wilson authored
      This is the initial commit of the elnhhook.  
      
      In the time since I opened the original draft of the elnhook, it has changed. Now the hook monitors for new config MRs rather than trigger on the push event. I've kept the original MR description below because the push event code still exists but has been disabled for now.
      
      This webhook now evaluates MR events to determine if a new MR is a kernel-ark config MR and if so it will open an ELN Jira and update the MR description to include a JIRA tag. This hook can be tested using:
      
      ```
      python3 -m webhook.elnhook --merge-request <gitlab-mr-link>
      ```
      
      **v1 description:**
      
      _As it is written now, this hook will only open a jira issue when triggered by a config branch push event. That config branch is created by the current functionality running in the kernel-ark scheduled job. That job merges each day with the upstream kernel and adds any new configs that come in from upstream._
      
      _In the future (as described in issue #770), this hook may take over some of the other functionality currently in kernel-ark which is why it triggers on a branch push event._
      
      _I've been testing this using a fake push event that I initially took from [gitlab's webhook log](https://gitlab.com/cki-project/kernel-ark/-/hooks/5222317/hook_logs/10332764157)_
      
      
      ```
      $ python3 -m webhook.elnhook --json-message-file fake-push-event.json
      ```
      
      Fixes: #770 
      
      Signed-off-by: Scott Weaver's avatarScott Weaver <scweaver@redhat.com>
      
      Closes #770
      
      See merge request !1712
      1bf2940d
    • Derek Barbosa's avatar
      Merge: component-webview: update available releases · e5944a4c
      Derek Barbosa authored
      
      include RHEL11 and RHIVOS1. Cleanup some UI elements as well. Unify
      "strictness" for searching across "ALL" components.
      
      Signed-off-by: Derek Barbosa's avatarDerek Barbosa <debarbos@redhat.com>
      
      See merge request !1750
      e5944a4c
    • Derek Barbosa's avatar
      component-webview: update available releases · 8b6c5ab0
      Derek Barbosa authored
      
      include RHEL11 and RHIVOS1. Cleanup some UI elements as well. Unify
      "strictness" for searching across "ALL" components.
      
      Signed-off-by: Derek Barbosa's avatarDerek Barbosa <debarbos@redhat.com>
      8b6c5ab0
  5. Feb 20, 2025
    • Jarod Wilson's avatar
      Merge: direnv: gitignore .direnv, add skeleton .envrc and sample config · 82979693
      Jarod Wilson authored
      
      This does a few things...
      
      1) Add .direnv to .gitignore, so we don't try to commit and push it
      2) Add a bare-bones .envrc file, which has two load-if-exists for an
         /etc/kernel-workflow/envrc and a ~/.config/kernel-workflow/envrc
         additional env config file
      3) Add a sample docs/kernel-workflow-envrc file that is more or less
         the snippet that was in the main README.md
      
      With these in place, we can further minimize the amount of copy-pasta
      people have to do, they just need to copy kernel-workflow-envrc into
      ~/.config/kernel-workflow/envrc and update it as needed, and things
      should Just Work(tm).
      
      Some of this is further prep work to make this easier to integrate
      into the rhel-developer-toolbox as a module, with just about everything
      auto-configured by ansible for you (including the quirky repos that
      some of the hooks need).
      
      [skip coverage check]
      
      Signed-off-by: Jarod Wilson's avatarJarod Wilson <jarod@redhat.com>
      
      See merge request !1735
      82979693
    • Jarod Wilson's avatar
      e01b8760
  6. Feb 19, 2025
    • Jarod Wilson's avatar
      update_git_mirror: tweaks to allow running w/o using aws at all · d9be85d3
      Jarod Wilson authored
      
      This lets you invoke update-repo with an empty bucket name and fetch all
      the updates just using git, without ever touching awscli, should you so
      choose (which is what's currently happening in the RDTx module). It also
      adds a setup-remotes option to overlay all the remotes on top of a
      freshly cloned linus repo.
      
      Signed-off-by: Jarod Wilson's avatarJarod Wilson <jarod@redhat.com>
      d9be85d3
    • Jarod Wilson's avatar
      direnv: gitignore .direnv, add skeleton .envrc and sample config · 3f1cbf73
      Jarod Wilson authored
      
      This does a few things...
      
      1) Add .direnv to .gitignore, so we don't try to commit and push it
      2) Add a bare-bones .envrc file, which has two load-if-exists for an
         /etc/kernel-workflow/envrc and a ~/.config/kernel-workflow/envrc
         additional env config file
      3) Add a sample docs/kernel-workflow-envrc file that is more or less
         the snippet that was in the main README.md
      
      With these in place, we can further minimize the amount of copy-pasta
      people have to do, they just need to copy kernel-workflow-envrc into
      ~/.config/kernel-workflow/envrc and update it as needed, and things
      should Just Work(tm).
      
      Some of this is further prep work to make this easier to integrate
      into the rhel-developer-toolbox as a module, with just about everything
      auto-configured by ansible for you (including the quirky repos that
      some of the hooks need).
      
      Signed-off-by: Jarod Wilson's avatarJarod Wilson <jarod@redhat.com>
      3f1cbf73
  7. Feb 18, 2025
  8. Feb 17, 2025
  9. Feb 14, 2025
    • Patrick Talbert's avatar
      cpc: do not try to tokenize 'Anything Goes!' policy · 91387f25
      Patrick Talbert authored
      
      In dist-git a policy of 'Anything Goes!' of course indicates there is no
      policy for this branch. But cpc still tries to transform this into a
      list of Token objects which it ends up not knowing how to evaluate.
      
      Save everyone a lot of trouble by looking for this string and if found,
      do not try to transform it into tokens. From the user point of view this
      is ideal as we'll naturally report there being no policy.
      
      Signed-off-by: Patrick Talbert's avatarPatrick Talbert <ptalbert@redhat.com>
      91387f25
  10. Feb 13, 2025
  11. Feb 12, 2025
Loading