Gentoo Archives: gentoo-soc

From: darrenstamour@×××××.com
To: gentoo-soc@l.g.o
Subject: Re: [gentoo-soc] GSOC weekly report #4: g-pypi
Date: Mon, 21 Jun 2010 19:38:30
Message-Id: 841168531-1277149099-cardhu_decombobulator_blackberry.rim.net-1408214001-@bda794.bisx.prod.on.blackberry
In Reply to: [gentoo-soc] GSOC weekly report #4: g-pypi by "Domen Kožar"
1 Tracey
2 Sent via BlackBerry by AT&T
3
4 -----Original Message-----
5 From: Domen Kožar <domen@×××.si>
6 Date: Mon, 21 Jun 2010 21:21:04
7 To: gentoo-soc<gentoo-soc@l.g.o>
8 Reply-to: gentoo-soc@l.g.o
9 Subject: [gentoo-soc] GSOC weekly report #4: g-pypi
10
11 I posted status update on my blog:
12 http://www.fubar.si/2010/6/21/google-summer-of-code-week-4-gpypi2
13
14 Plaintext version is pasted here for archiving reasons.
15
16
17 ************************************************************
18
19 Greetings, following is the weekly update for gpypi2 project. It's main
20 purpose is to generate ebuilds from Python Package Index.
21
22 Quick links to project info:
23 * Repository, issue tracker
24 * Hudson CI instance
25 * Sphinx documentation generated by hudson on each commit
26 * wiki/user stories for scrum development
27
28 I'm more than happy to announce first pre-alpha prototype. Intended goal
29 is to make people start using the tool and reporting back their critics.
30
31 Install gpypi2
32 $ sudo pip install http://bitbucket.org/iElectric/g-pypi2/get/tip.zip
33
34 or
35
36 $ sudo easy_install http://bitbucket.org/iElectric/g-pypi2/get/tip.zip
37 Create an ebuild
38 $ sudo gpypi2 create flask
39
40 * Generating ebuild: Flask 0.4
41 * Your ebuild is here: /usr/local/portage/dev-python/flask/flask-0.4.ebuild
42 * Dependency needed: Werkzeug
43 * Dependency needed: Jinja2
44 * Generating ebuild: Werkzeug 0.6.2
45 * Your ebuild is here: /usr/local/portage/dev-python/werkzeug/werkzeug-0.6.2.ebuild
46 * Generating ebuild: Jinja2 2.5
47 * Your ebuild is here: /usr/local/portage/dev-python/jinja2/jinja2-2.5.ebuild
48 * Dependency needed: Babel
49 * Generating ebuild: Babel 0.9.5
50 * Your ebuild is here: /usr/local/portage/dev-python/babel/babel-0.9.5.ebuild
51
52 NOTE: ebuilds will probably not function yet, features are yet to be
53 completed/added. Report bugs to issue tracker.
54
55 ====================================
56 Previous week (15-21 June)
57 ====================================
58
59 Main goal of previous week was to get closer to first prototype. Done.
60
61
62 Task: First snippet of command line interface
63 Command line interface was added, test coverage is up to 60%. Lots of
64 small fixes were done. As a bonus, I added portage output syntax colors.
65
66
67 Task: get_dependencies - another refactor to enamer
68 Multiple operators on version dependencies are handled as blockers,
69 implemented in tip. However get_dependencies was not refactored, since I
70 still might be adding functionality. Not really necessary for now.
71
72 =================================
73 Upcoming week (22-28 June)
74 =================================
75
76 Task: Use SrcUriNamer
77 gpypi2.enamer.SrcUriNamer is awaiting for quite 2 weeks now
78 to be finally used.
79 It's basically factory that generates SRC_URI and HOMEPAGE
80 according to mirror provider.
81 A lot of additional refactoring will be needed to Enamer to
82 use this utility instead of current guessing/parsing.
83
84 Task: Fix bugs reported by users
85 Lot of bugs are going to pop up; fix bugs, write tests and
86 add documentation.
87
88 Task: Increase test coverage
89 I'm still not satisfied with test coverage.
90 I'll try to increase it a bit more.
91 It's 10 days week of exams on my university, soon I will be able to put
92 in more effort in implementing features.
93 Cheers, Domen