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

Contents of /g-cpan/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 240 - (show annotations) (download)
Wed Mar 24 17:28:47 2010 UTC (4 years, 8 months ago) by robbat2
File size: 21635 byte(s)
Missed changelog.
1 # ChangeLog for g-cpan
2 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
3 # $Header: $
4
5 24 Mar 2010; Robin H. Johnson <robbat2@gentoo.org> bin/g-cpan:
6 Bug #311117: Support GCPAN_CAT/GCPAN_OVERLAY from make.conf as well as env.
7
8 15 Feb 2010; Robin H. Johnson <robbat2@gentoo.org> bin/g-cpan:
9 New variable GCPAN_OVERLAY to control what overlay is used for output of new
10 ebuilds. If not set, the previous detection behavior is used. Update manpage
11 for new config stuff.
12
13 15 Feb 2010; Robin H. Johnson <robbat2@gentoo.org> bin/g-cpan:
14 Allow usage of GCPAN_CAT variable from make.conf, .gcpanrc or env to
15 control what category generated ebuilds are placed into.
16
17 15 Feb 2010; Robin H. Johnson <robbat2@gentoo.org> lib/Gentoo/CPAN.pm:
18 Bug #269173: We run the configure/setup phases prior to build, but we need
19 to remember to block stdin in case the build script tries to read it.
20
21 12 Feb 2010; Robin H. Johnson <robbat2@gentoo.org> ChangeLog, bin/g-cpan:
22 Use EAPI2 by default, and clean up licenses. Thanks to tove for the patch.
23
24 12 Feb 2010; Robin H. Johnson <robbat2@gentoo.org> ChangeLog,
25 lib/Gentoo/Portage.pm:
26 Sync non-standard mappings with the up2date-ng copy. Thanks to tove for the
27 patch.
28
29 12 Feb 2010; Robin H. Johnson <robbat2@gentoo.org> ChangeLog,
30 lib/Gentoo/CPAN.pm:
31 Fix version detection for alpha/beta marker with trailing digit per bug
32 #233490.
33
34 12 Feb 2010; Robin H. Johnson <robbat2@gentoo.org> ChangeLog, bin/g-cpan:
35 Fix keyword generation per bug #293377.
36
37 12 Feb 2010; Robin H. Johnson <robbat2@gentoo.org> ChangeLog,
38 lib/Gentoo/CPAN.pm, lib/Gentoo/Portage.pm, bin/g-cpan:
39 Merge my fixes to generate new-style clean ebuilds, fixes bugs 239217
40 (desc/author), 281948/250718 (S=), 256912 (insufficent permissions).
41
42 12 Feb 2010; Robin H. Johnson <robbat2@gentoo.org> ChangeLog, README.svn:
43 Change in maintence/dev branch policies.
44
45 20 Oct 2007; Christian Hartmann <ian@gentoo.org> ChangeLog:
46 Fix bug #190449
47
48 05 Apr 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
49 Quick fix for search results of 0
50
51 01 Apr 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
52 Snapshot as I let loose rc6
53
54 31 Mar 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
55 Fixes for bug 168647, 161732 - added simple lookup table for those few CPAN
56 modules that don't match ebuild names
57
58 27 Mar 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
59 Just cleaning up from the CPAN.pm fixes
60
61 26 Mar 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
62 rc5; contains fix for different versions of CPAN.pm being loaded, thanks to
63 Jmax- for noticing this. Will clean up and post to gentoo shortly.
64
65 *g-cpan-0.15_rc5 (26 Mar 2007)
66
67 26 Mar 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
68 Posting rc4 to help users test out bugs, beginning rc5
69
70 24 Mar 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
71 Fixed spinner annoyanc (newlines); added check to make sure yaml file is
72 valid before attempting to parse it for deps; bug 170137 addressed
73
74 23 Mar 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
75 Fixed potential bug with checking to see if the module was installed with
76 dev-lang/perl - only checking now if it isn't part of the actual request, ie
77 g-cpan -i CPAN will work again (dep checking still the same, but now
78 perl-gcpan is checked first just to be safe)
79
80 23 Mar 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
81 Fixed CPAN.pm line 260 - overzealous reading of meta*yml files
82
83 23 Mar 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
84 Fix for bug 171686 - thats right, allow -u but failed to call --update in flags
85
86 21 Mar 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
87 Added message for buildpkg users to update /etc/portage/packages, thanks
88 fuzzyray :)
89
90 09 Mar 2007; Michael Cummings <mcummings@gentoo.org> ChangeLog:
91 Reverting change from bug 167776, niko and talked it over - was right the
92 first time. actual fix was elsewhere when i fixed the env imports.
93
94 *g-cpan-0.15_rc4 (03 Mar 2007)
95
96 03 Mar 2007; Michael Cummings <mcummings@gentoo.org>:
97 Officially removing Config.pm; prepping for snapshot for portage.
98
99 02 Mar 2007; Michael Cummings <mcummings@gentoo.org>:
100 More cleaning up of env vars. I think I have this licked now.
101
102 02 Mar 2007; Michael Cummings <mcummings@gentoo.org>:
103 Final tweaks for bug 142005; now noting gracefully when our search has
104 revealed a core perl module
105
106 01 Mar 2007; Michael Cummings <mcummings@gentoo.org>:
107 Bug 166718. A temporary solution for this ACCEPT_KEYWORDS bug, will provide
108 a cleaner when we refactor.
109
110 26 Feb 2007; Michael Cummings <mcummings@gentoo.org>:
111 Bug 167776, thanks Nicolas. Silly bug on portage_bases.
112
113 *g-cpan-0.15_rc3 (11 Feb 2007)
114
115 11 Feb 2007; Michael Cummings <mcummings@gentoo.org>:
116 Bug 158163 - Added a check before generating a module from CPAN to verify
117 that the module in question didn't come packaged with perl; Also worked a
118 little more on the version munging checker
119
120 11 Feb 2007; Michael Cummings <mcummings@gentoo.org>:
121 New changelog format
122
123 14 Jan 2007; Michael Cummings <mcummings@gentoo.org>:
124 Touched up the search results if an ebuild exists. Wanted more info than just "Yeah, we got something."
125
126 05 Jan 2007; Michael Cummings <mcummings@gentoo.org>:
127 Bug 160137, strip_ends cleanup on env imports.
128
129 *g-cpan-0.15_rc2 (11 Feb 2007)
130
131 03 Jan 2007; Michael Cummings <mcummings@gentoo.org>:
132 Version bump with bug fixes 157298, 158755, 157141, 99569, 104172, 147000,
133 155245
134
135 01 Jan 2007; Michael Cummings <mcummings@gentoo.org>:
136 More cleaning up of the search interface. Also corrected a minor minor minor bug in the tmpdir cleanup section.
137
138 31 Dec 2006; Michael Cummings <mcummings@gentoo.org>:
139 Beginning support for the config file, ~/.gcpanrc. Currently you can just override the make.conf settings. More ideas stirring though :)
140
141 29 Dec 2006; Michael Cummings <mcummings@gentoo.org>:
142 Fixed problems with the searching not working. Still needs some maintenance, but searching is again functional. Also added back the long display for cpan results - if you're searching to see if something is on cpan, you might want more than just the module name exists ;)
143
144 27 Dec 2006; Michael Cummings <mcummings@gentoo.org>:
145 Updated Makefile.PL with Shell::EnvImporter
146
147 27 Dec 2006; Michael Cummings <mcummings@gentoo.org>:
148 Fixed (recent/temporary) bug with lowercased ebuilds not being found;Cleaned up the hash a bit more
149
150 27 Dec 2006; Michael Cummings <mcummings@gentoo.org>:
151 experimental version munging now works. Basically another work around for
152 the arbitrary way authors version their modules (sometimes inconsistently
153 between releases) and how the versions are written in portage. Also update
154 the Gentoo::UI::Console output to streamline it a little for STDOUT.
155
156 27 Dec 2006; Michael Cummings <mcummings@gentoo.org>:
157 Importing recent work. These changes include a few aesthetic changes to how the ebuilds are written, as well as further work on integrating Shell::EnvImporter into g-cpan.
158
159 *g-cpan-0.15_rc1 (03 Jan 2007)
160
161 19 Dec 2006; Michael Cummings <mcummings@gentoo.org>:
162 I've begun phasing out Gentoo::Config in favor of simply using Shell::EnvImporter to pull in all of make.* file variables without the extra hoops we try to jump through to properly interpolate the shell variables. This way we use the same old hack I used on my out-of-date scripts and treat the make files like bash profiles and simply source them.
163
164 14 Dec 2006; Michael Cummings <mcummings@gentoo.org>:
165 Bug 152610, g-cpan wasn't installing anything if PORTDIR_OVERLAY was undefined
166
167 10 Dec 2006; Michael Cummings <mcummings@gentoo.org>:
168 Bug 152604 - the grep on line 194 wasn't working as expected. Modified to a simple matching regex and now it writes correctly.
169
170 *g-cpan-0.14.1_rc1 (10 Dec 2006)
171
172 05 Dec 2006; Michael Cummings <mcummings@gentoo.org>:
173 Worked on bug 156230, infinite loop with Bundle::CPAN. The problem was that there is a reference to Bundle::CPAN in Bundle::CPAN that was causing us to keep building for it. g-cpan -pu now works correctly with the user's sample overlay.
174
175 05 Dec 2006; Michael Cummings <mcummings@gentoo.org>:
176 Bug 156691, dealing with Build.PL's containing evaluation blocks in the dependency list.
177
178 25 Nov 2006; Michael Cummings <mcummings@gentoo.org>:
179 Fixed version writing in ebuilds - now matches declared version dependency, not latest found in portage. Bug 99569
180
181 25 Nov 2006; Michael Cummings <mcummings@gentoo.org>:
182 Fixes to lines 376-379 - after dams' changes, these had no value so were causing warnings for attempting > on an undef'd var (prior we were defaulting to 0);
183
184 03 Oct 2006; ian <ian@gentoo.org>:
185 Fixed bug #143317 - g-cpan: Does not record modules in world
186
187 28 Jul 2006; Michael Cummings <mcummings@gentoo.org>:
188 Versioned deps are now working.
189
190 22 Jul 2006; Michael Cummings <mcummings@gentoo.org>:
191 fixed case sensivity bug (you want to install an uppercase filename, but we
192 have it filed in portage lower case) - brought up on irc
193
194 18 Jul 2006; Michael Cummings <mcummings@gentoo.org>:
195 Fixed ACCEPT_KEYWORDS populating (superlag). Experimental Bundle:: Support
196 added :)
197
198 12 Jul 2006; Michael Cummings <mcummings@gentoo.org>:
199 Bug 140084 - thanks Moshe!
200
201 27 Jun 2006; Michael Cummings <mcummings@gentoo.org>:
202 - Added logging
203 - -u now supports individual packages
204
205 06 Jun 2006; Michael Cummings <mcummings@gentoo.org>:
206 Bug 135783
207
208 19 May 2006; Michael Cummings <mcummings@gentoo.org>:
209 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)
210
211 12 May 2006; Michael Cummings <mcummings@gentoo.org>:
212 Fixed bug 156691, evaluation blocks in Build.PL's causing errors. Code snippet originally suggested by poster, John Miller
213
214 *g-cpan-0.14.0 (02 Aug 2006)
215 05 Jun 2005; Michael Cummings <mcummings@gentoo.org>:
216 - 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.
217
218 02 Jun 2005; Michael Cummings <mcummings@gentoo.org>:
219 - 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.
220
221 01 Jun 2005; Michael Cummings <mcummings@gentoo.org>:
222 - 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 May 2005.
223 - 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.
224
225 30 May 2005; Michael Cummings <mcummings@gentoo.org>:
226 - 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.
227 - 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.
228
229 20 May 2005; Michael Cummings <mcummings@gentoo.org>:
230 - Moved color block so I could invoke it outside the usage function
231 - Added options to the "don't combine" block. Cleaned up text since the block was getting too long to handle/read
232 - Added catch for when no options were passed :)
233 - Modified check and output for arguments without a module pass
234 - Reorganized the checking of PORTDIR_OVERLAY and tmp_dir creation.
235 - Check to make sure we aren't attempting a non-emerge and creating a temp dir
236 - Add tmp_dir to overlay list earlier
237 - set ENV{TMPDIR} explicitly if there are no overlays
238 - Bundle the creation of tmp_dir into the block of "if there are no overlays"
239 - Invoke clean up no matter what -if we are far enough to reach it, we ran something that needs it
240 - Modified clean up to only remove the tmpdir if it is from our ENV{TMPDIR} - that way we don't wipe overlays by accident
241 - Updated copyright info for generated ebuild :) Also added a line to indicate that the ebuild was generated by g-cpan and which version
242 - 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
243 - Removed die from call to emerge. Seems the way portage runs it returns an exit code that perl is interpeting as a die
244 - Removed $MAKECONF - we have a constant for this.
245 - Added verbose message for overlays during discovery phase
246 - Inform user which overlay dir is being used
247 - Corrected cat'ing of /var/db/pkg dirs to pdirs
248 - Tweaked and tested invocations. g-cpan returns proper messages now under the following conditions:
249 - User with overlays attempts to emerge and can't
250 - No overlays defined and user attempts generate
251 - Confirmed multiple overlays work - g-cpan will select the first overlay that it has write access to
252 - Emerging without any overlays
253 - I think that's all that can be tested :)
254
255 17 May 2005; Michael Cummings <mcummings@gentoo.org>:
256 - Changed searching to use i() instead of m() (catch more flies with i than m ;) )
257 - Modified fatal exist to use cab-colors
258 - Added generate to create ebuilds for when you don't have perms to emerge
259
260 16 May 2005; Michael Cummings <mcummings@gentoo.org>:
261 - Checks for write privs in overlays and choosing the correct overlay based on that
262 - cleaned up the multiple cleanup blocks
263 - 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 :) )
264
265 15 May 2005; Michael Cummings <mcummings@gentoo.org>:
266 - Added check to make sure @ebuild_list had contents before trying to run emerge - less chance of emerge just junking out on us.
267 - Added "or die" to system call - at least its a start at handling an error return from the call to portage
268
269 15 May 2005; Michael Cummings <mcummings@gentoo.org>: cab in wonderland
270 - Lots of colours everywhere !
271 - new subs for text formatting
272 - replaced all simple print() call by print_x() ones
273
274 15 May 2005; Michael Cummings <mcummings@gentoo.org>:
275 - Removed sub that was no longer being invoked (had cleaned up the code for this last week)
276
277 15 May 2005; Michael Cummings <mcummings@gentoo.org>:
278 cab, second pass !
279 - Played with CPAN stuff so that it comes AFTER options parsing (see rev 25 for FIXME)
280 - Moved some 'use Module' strings
281
282 15 May 2005; Michael Cummings <mcummings@gentoo.org>:
283 Wonderful colored world, by cab ;)
284 - corrected indentation and typos in exit_usage()
285 - colorized exit_usage (feel like portage)
286 - rearranged code (categorizing sub - easier to find what we're looking for)
287 - added some comments here and there (again ;p)
288
289 11 May 2005; Michael Cummings <mcummings@gentoo.org>:
290 mcummings makes weird changes
291 - cleaned up calls to merge, added -p,-a,-n,-u flags to respective portions
292 - 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.
293 - moved list function so that it was called *after* we define the list of dirs to check
294 - added basename so program name was pretty (beu)
295 - 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
296
297 10 May 2005; Michael Cummings <mcummings@gentoo.org>:
298 cab strikes g-cpan again.. :)
299 - added comments here and there..
300 - modified the cpan-config-needed if() test
301 - modified switches interpretations
302 - added -l,--list switch (nothing behind for now)
303 - added a new sub : clean_the_mess, that should take care of system's sanity
304 - changed my $arches
305 - subbed the MD5 sum calculation
306 - updated exit_usage()
307
308 07 May 2005; Michael Cummings <mcummings@gentoo.org>:
309 cab first strike !
310 - Added search capabilities (same as m // command in CPAN Shell
311 Use -s or --search switch to get it.
312 - Now Using Getopt::Long to handle switches, options, and so on..
313 - get_globals totally rewritten : now uses open/parse/close on make.conf,
314 instead of 3 times qx() : performance boost guaranteed. Sets up default before
315 overwriting them if needed and can replace variables like ${PORTDIR} if ever
316 they are used in make.conf : quality improvement guaranteed. :p
317 thx to Sniper (sniper@mongueurs.net) for the s// regexp !
318 - Added a bit more explicative Usage message.. in fact a whole sub.
319 Available with -h or --help switch but will also appear if user
320 requires impossible or wrong things (plus a detailed error message
321 on what when wrong).
322 - Installing a module now requires the -i or --install switch, to differentiate
323 from searching. Can be modified to become default 'no option' behaviour,
324 but i'm not fan : searching as default would be far less dangerous. :)
325 - Reorganised code, adding some comments, removing some useless others.
326 - Had fun !
327
328 30 Apr 2005; Michael Cummings <mcummings@gentoo.org>:
329 Moving g-cpan into its own package space withing app-portage for better managability.
330 Also, this breaks the tie to g-cpan fixes being reliant on the next release of portage.
331
332 29 Jan 2005; Michael Cummings <mcummings@gentoo.org>:
333 andrew-g@oxhut.co.uk:
334 Improved filename/version matching to close bugs 64403 74149 69464 23951.
335 Improved default help message. Added -v verbose flag.
336
337 16 Nov 2004; Michael Cummings <mcummings@gentoo.org>:
338 pete@peteleonard.com:
339 Fixed handling of CPAN modules that end in '.pm' (e.g. CGI.pm)
340 Closes bug 64403.
341
342 29 Oct 2004; Michael Cummings <mcummings@gentoo.org>:
343 rac@gentoo.org:
344 attempt to recognize lowercased packages in dev-perl in portage_dir
345
346 23 May 2003; Michael Cummings <mcummings@gentoo.org>:
347 jrray@gentoo.org:
348 Skip modules the CPAN thinks are included with perl (closes bug 14679).
349
350 Used the CPAN module to discover the real location of Makefile.PL to set
351 the ${S} variable in the ebuild, sometimes the location isn't the same as
352 ${P}.
353
354 Don't assume the filename of the tarball will be ${P}.tar.gz, use the
355 real filename out of CPAN.
356
357 Some modules' filenames have underscores in unfortunate places. Change
358 all of them to hyphens to avoid that mess.
359
360 23 Feb 2003; Michael Cummings <mcummings@gentoo.org>:
361 alain@gentoo.org:
362 removed portage direct-access code, and switched to using the
363 portageq utility which hides the portage APIs.
364
365 08 Jan 2003; Michael Cummings <mcummings@gentoo.org>:
366 jrray@gentoo.org:
367 remove dependency on Digest::MD5
368
369 07 Jan 2003; Michael Cummings <mcummings@gentoo.org>:
370 jrray@gentoo.org: getting the way subroutines are fed variables
371 sorted out (they're in @_)
372 Clean out module_check, unnecessary temp variables are evil.
373 It isn't okay to skip a module if module_check succeeds when
374 that module is listed as a dependency for a module we're trying
375 to install, the subsequent emerge can fail if the ebuild doesn't
376 exist. So only skip a module if it is a first order module from
377 the command line but not if it is being considered to meet a
378 dependency.
379 Use the portage python module to learn some configuration values
380 instead of trying to parse make.conf.
381 Need to use system and not exec when calling out to emerge, exec
382 ends our process!
383
384 09 Dec 2002; Michael Cummings <mcummings@gentoo.org>:
385 baz@bluefuton.com: some further amends:
386 standardised code, declared external vars early,
387 amended layout and sub styles for consistency and brevity,
388 also removed a 'spare' function :-)
389
390 07 Dec 2002; Michael Cummings <mcummings@gentoo.org>:
391 Reviewed baz's comments (thanks!). Moved the make.conf check to an external
392 sub so that we could grab other important functions. Added Digest::MD5 so that we could
393 check the checksum more cleanly instead of making a system call.
394 Thanks to stocke2 for pointing me in the direction of File::Path -
395 and helping me debug silly michael coding with rmtree
396
397 07 Dec 2002; Michael Cummings <mcummings@gentoo.org>:
398 baz@bluefuton.com:
399 comments added, basically a very picky code review.
400
401 06 Dec 2002; Michael Cummings <mcummings@gentoo.org>:
402 Added emerge functionality. Now emerges modules on the
403 fly
404
405 03 Dec 2002; Michael Cummings <mcummings@gentoo.org>:
406 Added checks for /var/db/pkg and manually installed
407 modules
408
409 07 Nov 2002; Michael Cummings <mcummings@gentoo.org>:
410 jrray : Initial upload to bug 3450

  ViewVC Help
Powered by ViewVC 1.1.20