Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make output fore predictable #655

Open
KES777 opened this issue Dec 24, 2022 · 0 comments
Open

Make output fore predictable #655

KES777 opened this issue Dec 24, 2022 · 0 comments

Comments

@KES777
Copy link

KES777 commented Dec 24, 2022

Here dependencies are in random order. And this is hard to found difference between runs:

cpanm -n -L ./local App::cpm Carton::Snapshot
 --> Working on App::cpm
 Fetching http://www.cpan.org/authors/id/S/SK/SKAJI/App-cpm-0.997011.tar.gz ... OK
 ==> Found dependencies: Module::Build::Tiny
 --> Working on Module::Build::Tiny
 Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.039.tar.gz ... OK
-==> Found dependencies: ExtUtils::InstallPaths, ExtUtils::Config, ExtUtils::Helpers
+==> Found dependencies: ExtUtils::Helpers, ExtUtils::InstallPaths, ExtUtils::Config
+--> Working on ExtUtils::Helpers
+Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.026.tar.gz ... OK
+Configuring ExtUtils-Helpers-0.026 ... OK
+Building ExtUtils-Helpers-0.026 ... OK
+Successfully installed ExtUtils-Helpers-0.026
 --> Working on ExtUtils::InstallPaths
 Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-0.012.tar.gz ..>
 Configuring ExtUtils-InstallPaths-0.012 ... OK
@@ -18,49 +21,32 @@ Building ExtUtils-Config-0.008 ... OK
 Successfully installed ExtUtils-Config-0.008
 Building ExtUtils-InstallPaths-0.012 ... OK
 Successfully installed ExtUtils-InstallPaths-0.012
---> Working on ExtUtils::Helpers
-Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.026.tar.gz ... OK
-Configuring ExtUtils-Helpers-0.026 ... OK
-Building ExtUtils-Helpers-0.026 ... OK
-Successfully installed ExtUtils-Helpers-0.026
 Configuring Module-Build-Tiny-0.039 ... OK
 Building Module-Build-Tiny-0.039 ... OK
 Successfully installed Module-Build-Tiny-0.039
 Configuring App-cpm-0.997011 ... OK

Would be better to implement option like --sort-dependencies to make output more consistent between runs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant