Commit Graph

19 Commits

Author SHA1 Message Date
Stephan Kulow
5ae02a413d Store API URL in the revision table
Will be important once we get into SLE
2022-11-06 10:57:32 +01:00
Stephan Kulow
65000cd586 Fix even more issues with the linked_revs considered cache 2022-10-27 10:16:20 +02:00
Stephan Kulow
1c846e963c Import files of revisions more reliable and faster 2022-10-26 21:47:39 +02:00
Stephan Kulow
1346223822 Reshuffle schema versions after rebase 2022-10-26 14:56:38 +02:00
Stephan Kulow
2784171f75 Create fake revisions for every commit in the base of a linked package
This is a rather complex operation, but whenever a package changes in
Factory, the inherited package gets a shadow revision consisting of the
3-way merge. If this happens due to a request being accepted, this is
actually in most cases also commited by 'buildservice-autocommit',
so we're making sure this is always happening (and are actually
duplicating revisions in cases that we filter out later as empty
commits).

To differenciate the fake revisions from the real revisions, I add
a fraction part
2022-10-26 14:56:38 +02:00
Stephan Kulow
d17e60a608 Add another table to store linked_revs
We need to create fake revisions when packages were touched that are
linked themselves
2022-10-26 14:20:28 +02:00
1656d73340
fixed formatting and other suggestions 2022-10-26 11:58:01 +02:00
10cd7e4e38
execute user import 2022-10-24 18:12:44 +02:00
5ed847de8b
added user table and import function 2022-10-21 15:16:34 +02:00
Stephan Kulow
988b10e4b7 Add also an index to the requests table 2022-10-20 07:22:48 +02:00
Stephan Kulow
0a3816be67 Create index for request_number 2022-10-20 07:00:26 +02:00
Stephan Kulow
fa9ec8618e Load requests into the DB - not sure yet what for :) 2022-10-19 16:35:33 +02:00
Stephan Kulow
89c0335812 Import file list of revisions 2022-10-18 19:29:25 +02:00
Stephan Kulow
e8094cbc68 Import the link information into an extra table 2022-10-18 13:48:27 +02:00
Stephan Kulow
95412bc834 Prepare link collection 2022-10-18 13:13:52 +02:00
Stephan Kulow
25b45c5073 Split Revision into OBS and DB 2022-10-18 12:17:43 +02:00
Stephan Kulow
c534fb028e Add a small test case 2022-10-17 20:52:05 +02:00
Stephan Kulow
8563334b07 Add experimental import into DB 2022-10-17 20:39:03 +02:00
Stephan Kulow
a82562b794 Move modules into lib subdir 2022-10-17 19:56:41 +02:00