Project Description

Maintenance Coordination team has a set of tools called MTK (Maintenance ToolKit) that is extremely useful to the Maintenance team and can be used by a other teams to increase the productivity and automate common tasks related to the maintenance process. It provides a variety of scripts that are organized as plugins inside this tool (i.e mtk channel, mtk project, etc.) with each one of those plugins with a subset of commands (mtk channel {import|disable|removebinaries|...}, for the given subtasks.

MTK documentation

Up to now I was able to implement a few changes inside mtk, with some help from the team, but there are many more that we could do and it's hard to find the time between other tasks to be able to implement bigger changes.

Goal for this Hackweek

The idea for this hackweek is to collect and work on the implementation of some new functionality to the tool.

Also I would like to improve on my python skills, and that seems to be a great way to do it.

Resources

gitlab repo

If you have any idea of improvements that could be added to the tool, or activities that you think can be done or that you need, specially working with the maintenance workflow is very welcome. I initially thought on working on the project on my own, but we can discuss if someone wants to participate as well.

keywords: python, mtk, maintenance

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 20

Activity

  • 9 months ago: bfilho started this project.
  • 9 months ago: gboiko liked this project.
  • 9 months ago: gniebler liked this project.
  • 9 months ago: bfilho originated this project.

  • Comments

    • gboiko
      9 months ago by gboiko | Reply

      Maybe one start point could be a mtk product list, which goes on and lists all available products from their respective products? There is an internal script for that in the maintenance/tools repo (list-products.sh) that can serve as a starting point.

    • gboiko
      9 months ago by gboiko | Reply

      Another candidate is to add a mtk package maintained <pkgname> that implements the features currently in is_maintained but querying SMELT instead of IBS directly.

    • gboiko
      9 months ago by gboiko | Reply

      Other candidates:

      • From maintenance/tools, copy-channels-to-target.sh: this might not be very trivial because it relies on osc commands and a local checkout of channels, but even if we just port it using osc internally, it can be doable
      • There is a command mtk project whatprovides --name <prjs>, it would be very useful to have a --recursive option to look for the name dep in the repository paths of the given project . For example, for SUSE:SLE-12-SP5:Update, it would also look for the name in SUSE:SLE-12-SP5:GA, SUSE:SLE-12-SP4:Update, SUSE:SLE-12-SP4:GA, etc.

    Similar Projects

    This project is one of its kind!