action #1348
closedaction #1347: Cleanup plugins
Investigate what is in what plugin already
100%
Description
Figure out what do we have where and where it belongs
Updated by _miska_ almost 11 years ago
- % Done changed from 0 to 70
My findings so far:
- staging script has working checks for dirty and building, creation needs to be redone
- check_core plugin looks like creation part with few bits and pieces missing
- we will probably throw away/rewrite check_core once we have a proper API
- probably should be merged into staging plugin and polished
- checkcore.pl looks like something to maintain the rings, doesn't do changes directly, might be a good GSoC for Alberto to play with graphs
- osc-group has plenty of usefull functions for searching for various SRs which will be usefull in future, but grouping will be redone anyway
- osc-rqlink is just a helper, functionality already in osc-staging, we can drop that one
- queue-all.sh and generate-reminder.pl generates factory reminder mails
- sync-rebuild.py triggers rebuild for whatever is building only in one of openSUSE:Factory{,:Rebuild}
- osc-check_repo.py looks like something that tries to detect cycles in rq
- osc-check_source.py & source-checker.pl looks like part of automatic QA
Updated by coolo almost 11 years ago
Unfortunately a lot of this is incorrect. I already merged check_core and one part of checkcore.pl into the staging plugin and it would be good to merge rqlink too. Staging does not offer rqlink's functionality at the moment.
Updated by _miska_ almost 11 years ago
As far as I understood rqlink just takes a request and does a symlink with correct version/revision which is/was how I created staging projects.
But yeah, I haven't checked how staging plugin changed :-)
Updated by coolo almost 11 years ago
creating projects is a slightly different task than creating links though :)
Updated by _miska_ almost 11 years ago
Ok, looks like quite some stuff is in staging plugin already, some stuff has similar functionality, looks like what is missing is cleanup of staging plugin, merge the functions that do similar stuff generalize and document stuff.
Updated by coolo almost 11 years ago
Yes, once we have a test suite we can refactor.
Updated by _miska_ over 10 years ago
- Status changed from New to Closed
Not worth investigating more now, we will revisit once we are done/almost done to verify we haven't forgot something important, will create a task for that.