Gentoo Archives: gentoo-soc

From: Devan Franchini <oot153@×××××.com>
To: gentoo-soc <gentoo-soc@l.g.o>
Subject: [gentoo-soc] [Report 4] layman improvements
Date: Sun, 15 Jun 2014 01:33:52
Message-Id: CA+UEbAhHNnasKgCcvfDayF8RCFe-vkyRdt=crX3WHSPm-fkrEw@mail.gmail.com
1 Hello all,
2
3 This week, the following progress has been made:
4
5 1.) Replaced the standard file opening procedures in layman's code
6 with the "with" statement to allow for a more "resource friendly"
7 file opening.
8 2.) Replaced all instances of "subpath" wtih "branch":
9 * To reflect the changes made in the repositories.dtd I have
10 replaced all instances of branch with subpath.
11 * Changes have also been made to the man page to reflect these
12 alterations, along with an example of how to make use of the new
13 branch xml variable in a custom overlay.
14 3.) Added module branch support for the following overlay types:
15 * Git
16 * Mercurial
17 4.) Added py3.x compatibility for external test code.
18 5.) Added local file url support for tar overlays:
19 * Previously, layman did not support tar overlays that defined their
20 source as "file://<location to tar source>", support for this is now
21 added.
22 * Along with this added support an option for the user to allow layman
23 to delete remotely downloaded tar overlays this is because a
24 boolean was added to never delete local tar sources.
25
26 Goals for next week:
27 ~~~~~~~~~~~~~~~
28 * Push out a new release candidate for layman (along with
29 possibly a changelog?)
30 * Begin migrating from a docstring tests to a full test suite.
31
32 To anyone interested the source code and my commits can be found on
33 git.overlays.gentoo.org/gitweb/[1][1] or on github.com[2] on layman's
34 gsoc2014 branch.
35
36
37 [1]http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=shortlog;h=refs/heads/gsoc2014
38 [1][1] Because my main computer has been down I haven't been able
39 to push the commits to this repo. My dol-sen should be pushing
40 these to this repo some time this upcoming week.
41 [2]https://github.com/twitch153/layman/tree/gsoc2014
42
43 Hope everyone is enjoying themselves.
44
45 With regards,
46 Devan Franchini (twitch153)