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

Remove command x-history #689

Merged
merged 3 commits into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion include/vcpkg/base/messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,6 @@ namespace vcpkg
"",
"Formats all vcpkg.json files. Run this before committing to vcpkg.");
DECLARE_MESSAGE(HelpHashCommand, (), "", "Hash a file by specific algorithm, default SHA512.");
DECLARE_MESSAGE(HelpHistoryCommand, (), "", "(Experimental) Show the history of versions of a package.");
DECLARE_MESSAGE(HelpInitializeRegistryCommand, (), "", "Initializes a registry in the directory <path>.");
DECLARE_MESSAGE(HelpInstallCommand, (), "", "Install a package.");
DECLARE_MESSAGE(HelpListCommand, (), "", "List installed packages.");
Expand Down
13 changes: 0 additions & 13 deletions include/vcpkg/commands.porthistory.h

This file was deleted.

1 change: 0 additions & 1 deletion locales/messages.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@
"HelpExportCommand": "Exports a package.",
"HelpFormatManifestCommand": "Formats all vcpkg.json files. Run this before committing to vcpkg.",
"HelpHashCommand": "Hash a file by specific algorithm, default SHA512.",
"HelpHistoryCommand": "(Experimental) Show the history of versions of a package.",
"HelpInitializeRegistryCommand": "Initializes a registry in the directory <path>.",
"HelpInstallCommand": "Install a package.",
"HelpListCommand": "List installed packages.",
Expand Down
1 change: 0 additions & 1 deletion locales/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@
"HelpExportCommand": "Exports a package.",
"HelpFormatManifestCommand": "Formats all vcpkg.json files. Run this before committing to vcpkg.",
"HelpHashCommand": "Hash a file by specific algorithm, default SHA512.",
"HelpHistoryCommand": "(Experimental) Show the history of versions of a package.",
"HelpInitializeRegistryCommand": "Initializes a registry in the directory <path>.",
"HelpInstallCommand": "Install a package.",
"HelpListCommand": "List installed packages.",
Expand Down
1 change: 0 additions & 1 deletion src/vcpkg/base/messages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ namespace vcpkg
REGISTER_MESSAGE(HelpExportCommand);
REGISTER_MESSAGE(HelpFormatManifestCommand);
REGISTER_MESSAGE(HelpHashCommand);
REGISTER_MESSAGE(HelpHistoryCommand);
REGISTER_MESSAGE(HelpInitializeRegistryCommand);
REGISTER_MESSAGE(HelpInstallCommand);
REGISTER_MESSAGE(HelpListCommand);
Expand Down
3 changes: 0 additions & 3 deletions src/vcpkg/commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include <vcpkg/commands.list.h>
#include <vcpkg/commands.new.h>
#include <vcpkg/commands.owns.h>
#include <vcpkg/commands.porthistory.h>
#include <vcpkg/commands.portsdiff.h>
#include <vcpkg/commands.regenerate.h>
#include <vcpkg/commands.search.h>
Expand Down Expand Up @@ -101,7 +100,6 @@ namespace vcpkg::Commands
static const List::ListCommand list{};
static const NewCommand new_{};
static const Owns::OwnsCommand owns{};
static const PortHistory::PortHistoryCommand porthistory{};
static const PortsDiff::PortsDiffCommand portsdiff{};
static const RegenerateCommand regenerate{};
static const SearchCommand search{};
Expand Down Expand Up @@ -136,7 +134,6 @@ namespace vcpkg::Commands
{"x-add-version", &add_version},
{"x-ci-clean", &ciclean},
{"x-ci-verify-versions", &ci_verify_versions},
{"x-history", &porthistory},
{"x-package-info", &info},
{"x-regenerate", &regenerate},
{"x-vsinstances", &vsinstances},
Expand Down
230 changes: 0 additions & 230 deletions src/vcpkg/commands.porthistory.cpp

This file was deleted.

1 change: 0 additions & 1 deletion src/vcpkg/vcpkgcmdarguments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,6 @@ namespace vcpkg
table.format("vcpkg update", msg::format(msgHelpUpdateCommand));
table.format("vcpkg remove --outdated", msg::format(msgHelpRemoveOutdatedCommand));
table.format("vcpkg upgrade", msg::format(msgHelpUpgradeCommand));
table.format("vcpkg x-history <pkg>", msg::format(msgHelpHistoryCommand));
table.format("vcpkg hash <file> [alg]", msg::format(msgHelpHashCommand));
table.format("vcpkg help topics", msg::format(msgHelpTopicsCommand));
table.format("vcpkg help <topic>", msg::format(msgHelpTopicCommand));
Expand Down