2008-03-22 22:03 -0400 djerius (5be33197bec5 [tip]) * README, lib/App/Env.pm, t/alias.t: application module search is no longer sensitive to the case of the application name - removed confusing references to package instead of application in docs - updated copyright date 2008-03-22 18:14 -0400 djerius (37e17fd4fe62) * .hgtags: Added tag 0.07 for changeset bdfd9f1ef7e4 2008-03-22 18:14 -0400 djerius (bdfd9f1ef7e4 [0.07]) * t/envstr.t: update TERMCAP test; not all platforms have it! 2008-03-22 18:08 -0400 djerius (ef3b0e4d7b98) * ChangeLog, Changes: update for release 2008-03-22 18:07 -0400 djerius (6981a6673e36) * t/envstr.t: improved TERMCAP testing 2008-03-22 18:02 -0400 djerius (2257fa1aa1fa) * lib/App/Env.pm, t/envstr.t: explicit request required for str() to output TERMCAP, to simplify Excludes 2008-03-22 17:21 -0400 djerius (456572d64437) * ChangeLog, Changes, bin/appexec, lib/App/Env.pm: update for release 2008-03-22 17:18 -0400 djerius (91e9e88e4e2d) * lib/App/Env.pm, t/env.t, t/envstr.t: merged env()/str() Include behavior into list of vars; str now takes variable names, normalized return behavior of env() in list/scalar context. env() & str() variable name, Include & Exclude behavior was too complex. the Include option was partially duplicating the list of names at the front of the argument list. The Include option was removed and the list of variable names was upgraded to a list of match specifications. str() now has the same argument signature as env(). The return from env() in different contexts was too inflexible (and maybe a bit inconsistent). It is now deterministic and documented (and perhaps too flexible). 2008-03-22 13:17 -0400 djerius (b84150d5cf3e) * t/App/Env/Site1/App3.pm, t/App/Env/Site1/App4.pm: forgot to add alias test env modules 2008-03-22 13:03 -0400 djerius (0f05405c3b60) * lib/App/Env.pm, lib/App/Env/Example.pm, t/alias.t: allow aliases to preset AppOpts 2008-03-22 11:57 -0400 djerius (518b4be49ba5) * t/appexec.t: fix compilation warning 2008-03-22 11:50 -0400 djerius (ac4dd95232a8) * Makefile.PL: add more dependencies, cleanups, use Module::Install to check Perl version 2008-03-22 11:50 -0400 djerius (e9d63554448f) * t/appexec.t: new appexec test; also tests alias 2008-03-22 11:48 -0400 djerius (968e8b1f61ea) * bin/appexec: appexec could not handle commands with an absolute path 2008-03-22 11:25 -0400 djerius (c67242602649) * Makefile.PL: require Perl > 5.8.0; won't work on earlier versions 2008-03-22 10:24 -0400 djerius (0d69fd7379d0) * Makefile.PL: update module list 2008-03-22 08:29 -0400 djerius (5d8f5a2a90b4) * t/alias.t: test aliasing functionality 2008-03-22 08:28 -0400 djerius (b69ece6df73e) * lib/App/Env.pm: make site search follow specs. introduce aliases a rather too big patch: - site hiearchy traversals weren't quite right, especially for uncaching - added "alias" option, which allows a module to masquerade as another. - use Module::Find to distinguish between non-existant app modules and app modules with compile time errors. - various bits of code cleanup 2008-03-22 08:12 -0400 djerius (84041e9437a6) * t/envstr.t: limit envstr so shell isn't overflowed on some CPAN test systems 2008-03-22 08:09 -0400 djerius (9850395e9445) * lib/App/Env.pm, t/App/Env/Site1/App1.pm, t/env.t: add Include functionality to env & envstr to include particular variables 2008-03-22 08:01 -0400 djerius (03ee877b4a63) * t/cache.t: ensure envs for correct site are uncached 2008-03-22 07:11 -0400 djerius (39c9e071c203) * lib/App/Env/Example.pm: introduce the concept of Pristine environments 2008-03-21 22:56 -0400 djerius (d6fa755a3300) * t/env.t, t/envstr.t: syntax bug in test resulted in test failure, but test was expected to fail. 2008-02-03 14:15 -0500 djerius (b5853610733a) * .hgtags: Added tag 0.06 for changeset 890de36e3052 2008-02-03 14:13 -0500 djerius (890de36e3052 [0.06]) * ChangeLog, Changes: update for release 2008-02-03 14:10 -0500 djerius (63d9df4e0bbe) * Makefile.PL: fix up dependencies 2008-02-03 14:10 -0500 djerius (5ffd8de4e518) * lib/App/Env.pm, lib/App/Env/Example.pm, t/cache.t: fix multi-app environments multi-app environments had a number of fundamental problems. * the method for merging individual application's environments was extremely simplistic and could result in parts of an app's environment being reset. * application environments were not necessarily based on the current environment and when applied could reset the user's environment. This problem was found for environments created by shell scripts where the user's profile or .cshrc was sourced as part of the shell invocation, in many cases resulting in a reset of the environment to its inital state at login. To avoid these problems, a new restriction was placed upon the application specific modules. They must create their environments based upon the current one, merging their changes into it. When creating a merged environment, the application modules are successively invoked on a copy of the current environment and the final environment is used. Previously the modules' environments were "merged" in a rather inflexible manner, resulting in overwriting changes. This also means that 1) cached application environments can't be used during a merger and 2) application environments can't be cached during the course of a merger. 2008-02-03 13:52 -0500 djerius (97935eccd72e) * t/App/Env/App1.pm, t/App/Env/App2.pm, t/App/Env/Site1/App1.pm, t/App/Env/Site1/App2.pm, t/App/Env/Site2/App1.pm: added debug statements 2008-01-17 15:59 -0500 djerius (255e3012e783) * .hgtags: Added tag 0.05 for changeset e312af21854f 2008-01-17 15:54 -0500 djerius (e312af21854f [0.05]) * bin/appexec: fixed incorrect Getopt::Long configuration 2008-01-17 15:53 -0500 djerius (c45370921fbc) * .hgtags: Removed tag 0.05 2008-01-17 15:21 -0500 djerius (14f8a6a44461) * .hgtags: Added tag 0.05 for changeset 4c9ce9315ca8 2008-01-17 15:21 -0500 djerius (4c9ce9315ca8) * ChangeLog, Changes, README, lib/App/Env.pm: udpate for release 2008-01-17 15:14 -0500 djerius (649b4e3e59e6) * bin/appexec, lib/App/Env.pm: added appexec 2008-01-17 15:13 -0500 djerius (f10f36d537d0) * MANIFEST, MANIFEST.SKIP, Makefile.PL: administrative cleanup; use Module::Install 2008-01-17 14:16 -0500 djerius (8ab803f914ed) * lib/App/Env.pm: improve documentation 2008-01-17 14:09 -0500 djerius (6a62010f989c) * lib/App/Env/Example.pm: fix typo 2007-09-20 21:04 -0400 djerius (9d0a1aa99422) * .hgtags: Added tag 0.04 for changeset 60316599e900 2007-09-20 21:04 -0400 djerius (60316599e900 [0.04]) * ChangeLog, Changes, lib/App/Env.pm: update for release 2007-08-17 17:01 -0400 djerius (06e0a82a4657) * lib/App/Env.pm, lib/App/Env/Example.pm, t/App/Env/Site1/App1.pm: The AppOpts hash is now passed as the sole parameter to the envs function. Clean up mess from previous work where the app env module's envs() function took a more complicated input parameter. Now just gets the AppOpts hash directly. 2007-08-17 14:39 -0400 djerius (d28d330df856) * MANIFEST: remove META.yml; seems to mess up make dist 2007-08-17 14:37 -0400 djerius (3f4fb7f7eab7) * .hgtags: Added tag 0.03 for changeset d36b41d3f2f0 2007-08-17 14:37 -0400 djerius (d36b41d3f2f0 [0.03]) * ChangeLog, Changes, lib/App/Env.pm: update for release 2007-08-17 12:26 -0400 djerius (7a3552e41221) * Makefile.PL, lib/App/Env.pm: don't use Module::Load::Conditional. clean up envs invocation. Originally Module::Load::Conditional was used to determine whether a module existed separately from whether there was an error during its compilation (Module::Load doesn't distinguish this case). However Module::Load::Conditional's dependency chain is larger than I'd like. Instead, Module::Load was emulated using eval "require $module". Same results, perhaps less efficient because it requires a run time compilation. calling the envs function in the application environment module is no longer done with eval (once I figured out how to get the symbolic reference to work). 2007-08-17 12:20 -0400 djerius (d3d9720ca944) * t/badmodule.t: add test for non-existent module 2007-08-16 17:11 -0400 djerius (d9b5f649ec19) * .hgtags: Added tag 0.02 for changeset 1dc9ba777697 2007-08-16 17:11 -0400 djerius (1dc9ba777697 [0.02]) * ChangeLog, Changes, MANIFEST, lib/App/Env.pm: update for release 2007-08-16 17:04 -0400 djerius (45d4f9205efd) * lib/App/Env.pm: older perl's don't have weak references; code around that 2007-08-16 16:08 -0400 djerius (4f63370307b0) * .hgtags: Added tag 0.01 for changeset f113452d5ba2 2007-08-16 16:08 -0400 djerius (f113452d5ba2 [0.01]) * ChangeLog, Changes, LICENSE, MANIFEST, Makefile.PL, README, lib/App/Env.pm, lib/App/Env/Example.pm, t/App-Env.t, t/App/Env/App1.pm, t/App/Env/App2.pm, t/App/Env/Site.pm, t/App/Env/Site1/App1.pm, t/App/Env/Site1/App2.pm, t/App/Env/Site2/App1.pm, t/cache.t, t/env.t, t/envstr.t, t/site1.t, t/site2.t, t/site3.t, t/system.t, t/use1.t, t/use2.t, t/use3.t: initial version