Gentoo Archives: gentoo-soc

From: Mykyta Holubakha <hilobakho@×××××.com>
To: gentoo-soc@l.g.o
Subject: [gentoo-soc] pomu: weekly report for week #2
Date: Mon, 19 Jun 2017 01:41:56
Message-Id: CAJ3DYCEL0aASb+v5E0AaKReqYn5tYoFxSazUZsZQ7r_GUTKg4g@mail.gmail.com
1 This is the weekly report for the week of 12-18.06.
2
3 A fully working CLI tool was shipped this week. One can import a
4 package from a repository configured by portage (specified by its
5 category/name/version/slot/etc.), which would be added to his
6 configured repository, or fetched into a directory.
7
8 Progress made this week:
9 1) Implemented the package source module, while improving the codebase
10 to accomodate for it.
11 2) Designed the repository metadata format.
12 3) Extended the CLI (fetch --into).
13 4) Fully documented the code.
14
15 Plans for this week:
16 1) Implement storing the metadata, generating commit messages and manifests.
17 2) Implement a module to add packages via local ebuild files.
18 3) Minor refinements to the portage package source module.
19
20 As requested: I've had fruitful and very helpful discussions with
21 dol-sen on the IRC channel for a few hours this week. In addition,
22 we've exchanged a few emails.
23
24 This weeks commits:
25 - Numerous improvements and fixes
26 Documented most of the functions and classes.
27 Added an option to fetch a package into a specified directory.
28 Added a merge_into method to the Package class, which would merge it
29 into a directory, and refactored repo::merge_package to use that.
30 Extended the package class to store category, version and slot metadata.
31 Added tests of the portage package source module.
32
33 - major refactoring of pomu package source module
34 fixed Result::unwrap
35 fixed several issues to make the portage package source module produce
36 correct packages
37
38 - Completed package sanity checking
39 use portage APIs for suffixes and version comparison
40 added a function to fetch a portage package
41
42 - Continue working on the portage source module
43 get the best package version using package apis
44 created a handler for implicit matching
45 use the portage apis for some of the features
46
47 - Portage package source module
48 implemented package description parsing, repository lookup
49 started work on finding best package versions