/[gentoo-perl]/g-cpan/trunk/Changes
Gentoo

Contents of /g-cpan/trunk/Changes

Parent Directory Parent Directory | Revision Log Revision Log


Revision 90 - (show annotations) (download)
Wed Aug 2 01:27:42 2006 UTC (8 years, 4 months ago) by mcummings
File size: 11212 byte(s)
Last commit for 0.14.0. 


1 28/07/2006
2
3 Versioned deps are now working.
4
5 22/07/2006
6 fixed case sensivity bug (you want to install an uppercase filename, but we
7 have it filed in portage lower case) - brought up on irc
8
9 18/07/2006
10
11 Fixed ACCEPT_KEYWORDS populating (superlag). Experimental Bundle:: Support
12 added :)
13
14 12/07/2006
15
16 Bug 140084 - thanks Moshe!
17
18 27/06/2006
19
20 * Added logging
21 * -u now supports individual packages
22
23 06/06/2006
24
25 Bug 135783
26
27 19/05/2006
28
29 Fixed tests; fixed bug where -a wasn't working anymore; fixed bug where g-cpan would skip ebuilds that already existed (mainstream g-cpan will continue to install them)
30
31 --version 0.14.0--
32
33 05/06/2005 - mcummings
34
35 - Bug 95146 (http://bugs.gentoo.org/show_bug.cgi?id=95146) - lists/upgrades failed because of a lack of arguments. Thanks to Moshe Kaminsky for catching the or vs and on this.
36
37 02/06/2005 - mcummings
38
39 - Bug 94850 (http://bugs.gentoo.org/show_bug.cgi?id=94850) brought to light the interesting scenario of having PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /some/path" in your make.conf - the result is that when we split on space, we get a null string as an overlay dir, which works since as root you can write to /perl-gcpan.
40
41 01/06/2005 - mcummings
42
43 - Bumped version to 0.13.01 - basically, this is a maintenance update. The version bump was mandated because we needed to change the tarball name so that people would get the new version in their distfiles (otherwise portage thinks they already have a copy of g-cpan-0.13 and ignores that there's a newer version "upstream"). This will ensure folks get the changes made on 30/05/2005.
44 - Moved the color flags one more time per bug 94759 (http://bugs.gentoo.org/show_bug.cgi?id=94759) - usage was called before the colors it uses were being defined.
45
46 30/05/2005 - mcummings
47
48 - Commented out the rmdir of .cpan/build - this was causing weird random (harmless) error messages. Reviewing the code, we don't actually use this dir ourselves, but point to it for CPAN's build area. Since the default config for CPAN cleans this up itself, lets leave it at that for now.
49 - Corrected dev-perl/File-Spec to perl-core/File-Spec following the perl-core migration last week. Releasing this as -r1 in portage since its a minor change, not a major update.
50
51 20/05/2005 - mcummings
52
53 - Moved color block so I could invoke it outside the usage function
54 - Added options to the "don't combine" block. Cleaned up text since the block was getting too long to handle/read
55 - Added catch for when no options were passed :)
56 - Modified check and output for arguments without a module pass
57 - Reorganized the checking of PORTDIR_OVERLAY and tmp_dir creation.
58 - Check to make sure we aren't attempting a non-emerge and creating a temp dir
59 - Add tmp_dir to overlay list earlier
60 - set ENV{TMPDIR} explicitly if there are no overlays
61 - Bundle the creation of tmp_dir into the block of "if there are no overlays"
62 - Invoke clean up no matter what -if we are far enough to reach it, we ran something that needs it
63 - Modified clean up to only remove the tmpdir if it is from our ENV{TMPDIR} - that way we don't wipe overlays by accident
64 - Updated copyright info for generated ebuild :) Also added a line to indicate that the ebuild was generated by g-cpan and which version
65 - Added output for existing ebuilds found. This helps in the event of invoking g-cpan for an ebuild that already exists. Without this, we return to the prompt without knowing why g-cpan didn't do anything
66 - Removed die from call to emerge. Seems the way portage runs it returns an exit code that perl is interpeting as a die
67 - Removed $MAKECONF - we have a constant for this.
68 - Added verbose message for overlays during discovery phase
69 - Inform user which overlay dir is being used
70 - Corrected cat'ing of /var/db/pkg dirs to pdirs
71 - Tweaked and tested invocations. g-cpan returns proper messages now under the following conditions:
72 * User with overlays attempts to emerge and can't
73 * No overlays defined and user attempts generate
74 * Confirmed multiple overlays work - g-cpan will select the first overlay that it has write access to
75 * Emerging without any overlays
76 * I think that's all that can be tested :)
77
78
79 17/05/2005 - mcummings
80
81 - Changed searching to use i() instead of m() (catch more flies with i than m ;) )
82 - Modified fatal exist to use cab-colors
83 - Added generate to create ebuilds for when you don't have perms to emerge
84
85 16/05/2005 - mcummings
86
87 - Checks for write privs in overlays and choosing the correct overlay based on that
88 - cleaned up the multiple cleanup blocks
89 - Updated the man pages. Left out cab's and sniper's email in case they didn't want them published (so fill it in if you do :) )
90
91 15/05/2005 - mcummings
92
93 - Added check to make sure @ebuild_list had contents before trying to run emerge - less chance of emerge just junking out on us.
94 - Added "or die" to system call - at least its a start at handling an error return from the call to portage
95
96 15/05/2005 - cab in wonderland
97
98 - Lots of colours everywhere !
99 - new subs for text formatting
100 - replaced all simple print() call by print_x() ones
101
102 15/05/2005 - mcummings
103
104 - Removed sub that was no longer being invoked (had cleaned up the code for this last week)
105
106 15/05/2005 - cab, second pass !
107
108 - Played with CPAN stuff so that it comes AFTER options parsing (see rev 25 for FIXME)
109 - Moved some 'use Module' strings
110
111 15/05/2005 - Wonderful colored world, by cab ;)
112
113 - corrected indentation and typos in exit_usage()
114 - colorized exit_usage (feel like portage)
115 - rearranged code (categorizing sub - easier to find what we're looking for)
116 - added some comments here and there (again ;p)
117
118 11/05/2005 - mcummings makes weird changes
119
120 - cleaned up calls to merge, added -p,-a,-n,-u flags to respective portions
121 - Removed the "for (@ARGV) to the call for emerge*module subs - all this was doing was forcing us to call emerge multiple times; the actual subs weren't using @ARGV, but using @ebuild_list, which was already populated elsewhere with all of the modules we wanted plus their generated deps.
122 - moved list function so that it was called *after* we define the list of dirs to check
123 - added basename so program name was pretty (beu)
124 - To explain my changes for that dir read -noticed when traversing for multiple files that the directory list checked was decreasing in size each pass until it was only checking one directory chain in the end. Pushing it all into a single array that's built temporarily, while ugly, seems to work. This was all due to a bug in modules like Bundle-W3C-Validator (go ahead and try with the old code). Sorry for the kludges, thanks snip for the regex help
125
126 10/05/2005 - cab strikes g-cpan again.. :)
127
128 - added comments here and there..
129 - modified the cpan-config-needed if() test
130 - modified switches interpretations
131 - added -l,--list switch (nothing behind for now)
132 - added a new sub : clean_the_mess, that should take care of system's sanity
133 - changed my $arches
134 - subbed the MD5 sum calculation
135 - updated exit_usage()
136
137 07/05/2005 - cab first strike !
138
139 - Added search capabilities (same as m // command in CPAN Shell
140 Use -s or --search switch to get it.
141
142 - Now Using Getopt::Long to handle switches, options, and so on..
143
144 - get_globals totally rewritten : now uses open/parse/close on make.conf,
145 instead of 3 times qx() : performance boost guaranteed. Sets up default before
146 overwriting them if needed and can replace variables like ${PORTDIR} if ever
147 they are used in make.conf : quality improvement guaranteed. :p
148 thx to Sniper (sniper@mongueurs.net) for the s// regexp !
149
150 - Added a bit more explicative Usage message.. in fact a whole sub.
151 Available with -h or --help switch but will also appear if user
152 requires impossible or wrong things (plus a detailed error message
153 on what when wrong).
154
155 - Installing a module now requires the -i or --install switch, to differentiate
156 from searching. Can be modified to become default 'no option' behaviour,
157 but i'm not fan : searching as default would be far less dangerous. :)
158
159 - Reorganised code, adding some comments, removing some useless others.
160
161 - Had fun !
162
163 --------------------------------------
164 Old Changelog
165 -------------
166
167 #Copyright 1999-2004 Gentoo Foundation
168 #Distributed under the terms of the GNU General Public License v2
169 #$Header: /var/cvsroot/gentoo/users/mcummings/g-cpan/g-cpan-0.12/Changes,v 1.1 2005/04/30 21:44:15 mcummings Exp $
170
171 History:
172
173 04/30/05: mcummings@gentoo.org
174 Moving g-cpan into its own package space withing app-portage for better managability.
175 Also, this breaks the tie to g-cpan fixes being reliant on the next release of portage.
176
177 01/29/05: andrew-g@oxhut.co.uk:
178 Improved filename/version matching to close bugs 64403 74149 69464 23951.
179 Improved default help message. Added -v verbose flag.
180
181 11/16/04: pete@peteleonard.com:
182 Fixed handling of CPAN modules that end in '.pm' (e.g. CGI.pm)
183 Closes bug 64403.
184
185 10/29/04: rac@gentoo.org:
186 attempt to recognize lowercased packages in dev-perl in portage_dir
187
188 05/23/03: jrray@gentoo.org:
189 Skip modules the CPAN thinks are included with perl (closes bug 14679).
190
191 Used the CPAN module to discover the real location of Makefile.PL to set
192 the ${S} variable in the ebuild, sometimes the location isn't the same as
193 ${P}.
194
195 Don't assume the filename of the tarball will be ${P}.tar.gz, use the
196 real filename out of CPAN.
197
198 Some modules' filenames have underscores in unfortunate places. Change
199 all of them to hyphens to avoid that mess.
200
201 02/23/03: alain@gentoo.org:
202 removed portage direct-access code, and switched to using the
203 portageq utility which hides the portage APIs.
204
205 01/08/03: jrray@gentoo.org:
206 remove dependency on Digest::MD5
207
208 01/07/03: jrray@gentoo.org: getting the way subroutines are fed variables
209 sorted out (they're in @_)
210 Clean out module_check, unnecessary temp variables are evil.
211 It isn't okay to skip a module if module_check succeeds when
212 that module is listed as a dependency for a module we're trying
213 to install, the subsequent emerge can fail if the ebuild doesn't
214 exist. So only skip a module if it is a first order module from
215 the command line but not if it is being considered to meet a
216 dependency.
217 Use the portage python module to learn some configuration values
218 instead of trying to parse make.conf.
219 Need to use system and not exec when calling out to emerge, exec
220 ends our process!
221
222 12/09/02: baz@bluefuton.com: some further amends:
223 standardised code, declared external vars early,
224 amended layout and sub styles for consistency and brevity,
225 also removed a 'spare' function :-)
226
227 12/07/02: mcummings: Reviewed baz's comments (thanks!). Moved the make.conf check to an external
228 sub so that we could grab other important functions. Added Digest::MD5 so that we could
229 check the checksum more cleanly instead of making a system call.
230 Thanks to stocke2 for pointing me in the direction of File::Path -
231 and helping me debug silly michael coding with rmtree
232
233 12/07/02: baz@bluefuton.com:
234 comments added, basically a very picky code review.
235
236 12/06/02: mcummings;
237 Added emerge functionality. Now emerges modules on the
238 fly
239
240 12/03/02: mcummings;
241 Added checks for /var/db/pkg and manually installed
242 modules
243
244 11/07/02: jrray : Initial upload to bug 3450

  ViewVC Help
Powered by ViewVC 1.1.20