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

Contents of /g-cpan/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.20