Baptiste AGASSE wrote: % Hi, % % I've just looked at reposync.py code a I don't see any part related to % getting include/exclude filters from database as properties of % repositories that Jan asked me when i've submited some code for % filters (he said that he didn't like that filters are specified at % runtime). % % Any news on it ? If, you decide to store filters in database, these % will be accessible through repositories webui ?
Hi Baptiste, yesterday and today I finally saved some time to look into it again. I added a database table to hold include/exclude filters and spacewalk-repo-sync code which is able to use it. Unfortunately there's not webUI part yet so if you want to check it you have to insert filter data directy into database. E.g. insert into rhncontentsourcefilter (id, source_id, sort_order, flag, filter) values (sequence_nextval('rhn_csf_id_seq') , 536, 1, '+', 'samba-client'); where source_id is repository id (that's the end part as in https://<spacewalk>/rhn/channels/manage/repos/RepoEdit.do?id=536 url), sort_order specifies the order of filters which belong to the same repo, flag is either '+' or '-' (include / exclude) and filter is the list of packages to be filtered. Regards. -- Michael Mráka Satellite Engineering, Red Hat _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel