diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-06-29 09:16:53 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-06-29 12:17:41 +0200 |
commit | 8e99b22c31eb47d0422e9a69e83dc99bb315ded8 (patch) | |
tree | 5b9ce48557151aecda3b34a755c71b1201c48133 /cmdline | |
parent | 33aa2752e7c7a6f0a01b191111aa35a5fe69cf20 (diff) |
eipp: let apt make a plan, not make stuff plane
Julian noticed on IRC that I fall victim to a lovely false friend by
calling referring to a 'planer' all the time even through these are
machines to e.g. remove splinters from woodwork ("make stuff plane").
The term I meant is written in german in this way (= with a single n)
but in english there are two, aka: 'planner'.
As that is unreleased code switching all instances without any
transitional provisions. Also the reason why its skipped in changelog.
Thanks: Julian Andres Klode
Gbp-Dch: Ignore
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-internal-planner.cc (renamed from cmdline/apt-internal-planer.cc) | 20 | ||||
-rw-r--r-- | cmdline/makefile | 6 |
2 files changed, 13 insertions, 13 deletions
diff --git a/cmdline/apt-internal-planer.cc b/cmdline/apt-internal-planner.cc index 2d5f44c6a..1f74aa78f 100644 --- a/cmdline/apt-internal-planer.cc +++ b/cmdline/apt-internal-planner.cc @@ -44,10 +44,10 @@ static bool ShowHelp(CommandLine &) /*{{{*/ { std::cout << - _("Usage: apt-internal-planer\n" + _("Usage: apt-internal-planner\n" "\n" - "apt-internal-planer is an interface to use the current internal\n" - "installation planer for the APT family like an external one,\n" + "apt-internal-planner is an interface to use the current internal\n" + "installation planner for the APT family like an external one,\n" "for debugging or the like.\n"); return true; } @@ -118,7 +118,7 @@ int main(int argc,const char *argv[]) /*{{{*/ DropPrivileges(); CommandLine CmdL; - ParseCommandLine(CmdL, APT_CMD::APT_INTERNAL_PLANER, &_config, NULL, argc, argv, &ShowHelp, &GetCommands); + ParseCommandLine(CmdL, APT_CMD::APT_INTERNAL_PLANNER, &_config, NULL, argc, argv, &ShowHelp, &GetCommands); // Deal with stdout not being a tty if (!isatty(STDOUT_FILENO) && _config->FindI("quiet", -1) == -1) @@ -127,8 +127,8 @@ int main(int argc,const char *argv[]) /*{{{*/ if (_config->FindI("quiet", 0) < 1) _config->Set("Debug::EIPP::WriteSolution", true); - _config->Set("APT::System", "Debian APT planer interface"); - _config->Set("APT::Planer", "internal"); + _config->Set("APT::System", "Debian APT planner interface"); + _config->Set("APT::Planner", "internal"); _config->Set("eipp::scenario", "/nonexistent/stdin"); FileFd output; if (output.OpenDescriptor(STDOUT_FILENO, FileFd::WriteOnly | FileFd::BufferedWrite, true) == false) @@ -136,7 +136,7 @@ int main(int argc,const char *argv[]) /*{{{*/ int const input = STDIN_FILENO; SetNonBlock(input, false); - EDSP::WriteProgress(0, "Start up planer…", output); + EDSP::WriteProgress(0, "Start up planner…", output); if (pkgInitSystem(*_config,_system) == false) DIE("System could not be initialized!"); @@ -144,7 +144,7 @@ int main(int argc,const char *argv[]) /*{{{*/ EDSP::WriteProgress(1, "Read request…", output); if (WaitFd(input, false, 5) == false) - DIE("WAIT timed out in the planer"); + DIE("WAIT timed out in the planner"); std::list<std::pair<std::string,EIPP::PKG_ACTION>> actions; unsigned int flags; @@ -180,12 +180,12 @@ int main(int argc,const char *argv[]) /*{{{*/ EDSP::WriteProgress(100, "Done", output); break; case pkgPackageManager::Incomplete: - broken << "Planer could only incompletely plan an installation order!" << std::endl; + broken << "Planner could only incompletely plan an installation order!" << std::endl; _error->DumpErrors(broken, GlobalError::DEBUG); EDSP::WriteError("pm-incomplete", broken.str(), output); break; case pkgPackageManager::Failed: - broken << "Planer failed to find an installation order!" << std::endl; + broken << "Planner failed to find an installation order!" << std::endl; _error->DumpErrors(broken, GlobalError::DEBUG); EDSP::WriteError("pm-failed", broken.str(), output); break; diff --git a/cmdline/makefile b/cmdline/makefile index ee50224e1..8b79ce05f 100644 --- a/cmdline/makefile +++ b/cmdline/makefile @@ -79,17 +79,17 @@ LIB_MAKES = apt-pkg/makefile apt-inst/makefile apt-private/makefile SOURCE = apt-extracttemplates.cc include $(PROGRAM_H) -# The internal solver/planer acting as an external +# The internal solver/planner acting as an external PROGRAM=apt-internal-solver SLIBS = -lapt-pkg -lapt-private $(INTLLIBS) LIB_MAKES = apt-pkg/makefile apt-private/makefile SOURCE = apt-internal-solver.cc include $(PROGRAM_H) -PROGRAM=apt-internal-planer +PROGRAM=apt-internal-planner SLIBS = -lapt-pkg -lapt-private $(INTLLIBS) LIB_MAKES = apt-pkg/makefile apt-private/makefile -SOURCE = apt-internal-planer.cc +SOURCE = apt-internal-planner.cc include $(PROGRAM_H) # This just dumps out the state |