Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Web-MREST-CLI for openSUSE:Factory checked in at 2022-07-02 15:34:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Web-MREST-CLI (Old) and /work/SRC/openSUSE:Factory/.perl-Web-MREST-CLI.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Web-MREST-CLI" Sat Jul 2 15:34:26 2022 rev:3 rq:986249 version:0.284 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Web-MREST-CLI/perl-Web-MREST-CLI.changes 2016-09-21 18:49:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Web-MREST-CLI.new.1548/perl-Web-MREST-CLI.changes 2022-07-02 15:34:27.815010678 +0200 @@ -1,0 +2,6 @@ +Wed Jun 29 13:03:28 UTC 2022 - Nathan Cutler <[email protected]> + +- updated to 0.284 + see /usr/share/doc/packages/perl-Web-MREST-CLI/Changes + +------------------------------------------------------------------- Old: ---- Web-MREST-CLI-0.283.tar.gz New: ---- Web-MREST-CLI-0.284.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Web-MREST-CLI.spec ++++++ --- /var/tmp/diff_new_pack.4Ltz40/_old 2022-07-02 15:34:28.267011356 +0200 +++ /var/tmp/diff_new_pack.4Ltz40/_new 2022-07-02 15:34:28.271011362 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Web-MREST-CLI # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define cpan_name Web-MREST-CLI Name: perl-Web-MREST-CLI -Version: 0.283 +Version: 0.284 Release: 0 -%define cpan_name Web-MREST-CLI Summary: CLI components for Web::MEST-based applications License: BSD-3-Clause -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Web-MREST-CLI/ -Source0: Web-MREST-CLI-0.283.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: Web-MREST-CLI-0.284.tar.gz BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(App::CELL) >= 0.205 BuildRequires: perl(File::HomeDir) -BuildRequires: perl(File::ShareDir) +BuildRequires: perl(File::ShareDir) >= 1.00 BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(JSON) BuildRequires: perl(LWP::Protocol::https) >= 6.04 @@ -44,7 +42,7 @@ BuildRequires: perl(URI::Escape) Requires: perl(App::CELL) >= 0.205 Requires: perl(File::HomeDir) -Requires: perl(File::ShareDir) +Requires: perl(File::ShareDir) >= 1.00 Requires: perl(HTTP::Request::Common) Requires: perl(JSON) Requires: perl(LWP::Protocol::https) >= 6.04 @@ -57,15 +55,15 @@ %{perl_requires} %description -Top-level module of the the Web::MREST::CLI manpage distribution. Exports -some "generalized" functions that are used internally and might also be -useful for writing CLI clients in general. +Top-level module of the Web::MREST::CLI distribution. Exports some +"generalized" functions that are used internally and might also be useful +for writing CLI clients in general. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check @@ -76,7 +74,7 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes config LICENSE README.rst +%doc Changes README.rst +%license LICENSE %changelog ++++++ Web-MREST-CLI-0.283.tar.gz -> Web-MREST-CLI-0.284.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Web-MREST-CLI-0.283/Changes new/Web-MREST-CLI-0.284/Changes --- old/Web-MREST-CLI-0.283/Changes 2016-09-04 19:58:27.000000000 +0200 +++ new/Web-MREST-CLI-0.284/Changes 2022-06-29 14:19:56.000000000 +0200 @@ -39,3 +39,8 @@ 0.283 2016-09-04 19:58 CEST - MANIFEST: add t/001-noop.t +0.284 2022-06-29 14:18 CEST +- CLI.pm: add some basic information on using the CLI +- bootstrap.sh: add bootstrap script +- MANIFEST.SKIP: do not include bootstrap scripts in Perl distro + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Web-MREST-CLI-0.283/MANIFEST.SKIP new/Web-MREST-CLI-0.284/MANIFEST.SKIP --- old/Web-MREST-CLI-0.283/MANIFEST.SKIP 2016-09-04 19:58:27.000000000 +0200 +++ new/Web-MREST-CLI-0.284/MANIFEST.SKIP 2022-06-29 14:19:56.000000000 +0200 @@ -79,3 +79,6 @@ # Avoid perlcritic, travis config files \B\.perlcriticrc\b \B\.travis.yml\b + +# Avoid bootstrap scripts +\bbootstrap.*sh$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Web-MREST-CLI-0.283/META.json new/Web-MREST-CLI-0.284/META.json --- old/Web-MREST-CLI-0.283/META.json 2016-09-04 19:58:27.000000000 +0200 +++ new/Web-MREST-CLI-0.284/META.json 2022-06-29 14:19:56.000000000 +0200 @@ -4,7 +4,7 @@ "Nathan Cutler <[email protected]>" ], "dynamic_config" : 1, - "generated_by" : "Module::Build version 0.4205", + "generated_by" : "Module::Build version 0.4224", "license" : [ "bsd" ], @@ -56,7 +56,7 @@ "provides" : { "Web::MREST::CLI" : { "file" : "lib/Web/MREST/CLI.pm", - "version" : "0.283" + "version" : "0.284" }, "Web::MREST::CLI::Parser" : { "file" : "lib/Web/MREST/CLI/Parser.pm" @@ -68,6 +68,6 @@ "http://opensource.org/licenses/bsd-license.php" ] }, - "version" : "0.283", - "x_serialization_backend" : "JSON::PP version 2.27203" + "version" : "0.284", + "x_serialization_backend" : "JSON::PP version 2.27400_02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Web-MREST-CLI-0.283/META.yml new/Web-MREST-CLI-0.284/META.yml --- old/Web-MREST-CLI-0.283/META.yml 2016-09-04 19:58:27.000000000 +0200 +++ new/Web-MREST-CLI-0.284/META.yml 2022-06-29 14:19:56.000000000 +0200 @@ -8,7 +8,7 @@ configure_requires: Module::Build: '0' dynamic_config: 1 -generated_by: 'Module::Build version 0.4205, CPAN::Meta::Converter version 2.150005' +generated_by: 'Module::Build version 0.4224, CPAN::Meta::Converter version 2.150010' license: bsd meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -20,7 +20,7 @@ provides: Web::MREST::CLI: file: lib/Web/MREST/CLI.pm - version: '0.283' + version: '0.284' Web::MREST::CLI::Parser: file: lib/Web/MREST/CLI/Parser.pm requires: @@ -44,5 +44,5 @@ perl: '5.012' resources: license: http://opensource.org/licenses/bsd-license.php -version: '0.283' -x_serialization_backend: 'CPAN::Meta::YAML version 0.012' +version: '0.284' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Web-MREST-CLI-0.283/README.rst new/Web-MREST-CLI-0.284/README.rst --- old/Web-MREST-CLI-0.283/README.rst 2016-09-04 19:58:27.000000000 +0200 +++ new/Web-MREST-CLI-0.284/README.rst 2022-06-29 14:19:56.000000000 +0200 @@ -9,6 +9,13 @@ CLI components for Web::MREST +Running from source for the first time +====================================== + +To ease the pain of bootstrapping ``Web::MREST::CLI`` (running it for the first +time from source in a given environment), a set of bootstrap scripts are +provided in the git repo. + Documentation ============= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Web-MREST-CLI-0.283/lib/Web/MREST/CLI/Parser.pm new/Web-MREST-CLI-0.284/lib/Web/MREST/CLI/Parser.pm --- old/Web-MREST-CLI-0.283/lib/Web/MREST/CLI/Parser.pm 2016-09-04 19:58:27.000000000 +0200 +++ new/Web-MREST-CLI-0.284/lib/Web/MREST/CLI/Parser.pm 2022-06-29 14:19:56.000000000 +0200 @@ -1,5 +1,5 @@ # ************************************************************************* -# Copyright (c) 2014-2015-2015, SUSE LLC +# Copyright (c) 2014-2022, SUSE LLC # # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Web-MREST-CLI-0.283/lib/Web/MREST/CLI.pm new/Web-MREST-CLI-0.284/lib/Web/MREST/CLI.pm --- old/Web-MREST-CLI-0.283/lib/Web/MREST/CLI.pm 2016-09-04 19:58:27.000000000 +0200 +++ new/Web-MREST-CLI-0.284/lib/Web/MREST/CLI.pm 2022-06-29 14:19:56.000000000 +0200 @@ -1,5 +1,5 @@ # ************************************************************************* -# Copyright (c) 2014-2015, SUSE LLC +# Copyright (c) 2014-2022, SUSE LLC # # All rights reserved. # @@ -70,11 +70,11 @@ =head1 VERSION -Version 0.283 +Version 0.284 =cut -our $VERSION = '0.283'; +our $VERSION = '0.284'; @@ -85,7 +85,30 @@ "generalized" functions that are used internally and might also be useful for writing CLI clients in general. -=cut + + +=head1 BASIC CLI CLIENT USAGE + +Once you have run the CLI client executable (C<mrest-cli>) and assuming it is +pointing correctly to a running MREST-compatible server, you can begin to +explore the REST API by issuing the command: + + get / + +If the server is running at C<http://localhost:5000>, the same information can +by obtained by pointing a web browser to that URI. + +This will produce a list of top-level resources. To view documentation on +a resource called C<foo>, issue the following command: + + post docu pod foo + +The documentation should include information on which HTTP methods can be used +to access the resource. + +To view documentation on the C<docu/pod> resource itself: + + post docu pod docu/pod
