| Summary: | [Feature request] Quiet mode | ||
|---|---|---|---|
| Product: | [Developer tools] kdesrc-build | Reporter: | Michael Pyne <mpyne> |
| Component: | general | Assignee: | Michael Pyne <mpyne> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/sdk/kdesrc-build/-/commit/6168825682c81d3e6984b698d8cfa822bac1797d | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Michael Pyne
2005-07-23 04:43:21 UTC
SVN commit 438080 by mpyne: Code cleanups. Which means, of course, that it's time to test any features you like to make sure they still work. ;) Also, (finally) refactor kdesvn-build output into different categories. The default is about as verbose as before, but there are several new options: --quiet (-q short option). Be quieter. --really-quiet, only show warnings and errors for the most part. --verbose, be even more descriptive than normal. --debug, show all kdesvn-build output. (WARNING, this can be super-verbose). This implements wish 109501 (Quiet mode feature request), but since I haven't added the documentation for it yet the bug will remain open. CCBUG:109501 M +382 -283 kdesvn-build SVN commit 438341 by mpyne:
Add documentation for the recently added --quiet option.
Also, make --dry-run an alias for --pretend since --dry-run seems to be a
common name for that type of option.
BUG:109501
M +23 -1 doc/scripts/kdesvn-build/index.docbook
M +31 -9 scripts/kdesvn-build
--- trunk/KDE/kdesdk/doc/scripts/kdesvn-build/index.docbook #438340:438341
@@ -1112,6 +1112,28 @@
</para></listitem>
</varlistentry>
+<varlistentry id="cmdline-quiet">
+<term><option>--quiet</option> (or <option>-q</option>)</term>
+<listitem><para>
+Don't be as noisy with the output. With this switch only the basics are
+output.
+</para></listitem>
+</varlistentry>
+
+<varlistentry id="cmdline-really-quiet">
+<term><option>--really-quiet</option></term>
+<listitem><para>
+Only output warnings and errors.
+</para></listitem>
+</varlistentry>
+
+<varlistentry id="cmdline-verbose">
+<term><option>--verbose</option></term>
+<listitem><para>
+Be very descriptive about what's going on, and what kdesvn-build is doing.
+</para></listitem>
+</varlistentry>
+
<varlistentry id="cmdline-svn-only">
<term><option>--svn-only</option></term>
<listitem><para>
@@ -1129,7 +1151,7 @@
<varlistentry id="cmdline-ignore-modules">
<term><option>--ignore-modules</option></term>
<listitem><para>
-don't including the modules passed on the rest of the command line in the update/build
+don't include the modules passed on the rest of the command line in the update/build
process.
</para></listitem>
</varlistentry>
--- trunk/KDE/kdesdk/scripts/kdesvn-build #438340:438341
@@ -64,6 +64,20 @@
=over
+=item B<--quiet>, B<-q>
+
+With this switch kdesvn-build will only output a general overview of the build
+process. Progress output is still displayed if available.
+
+=item B<--really-quiet>
+
+With this switch only warnings and errors will be output.
+
+=item B<--verbose>, B<-v>
+
+Be very detailed in what is going on, and what actions kdesvn-build is taking.
+Only B<--debug> is more detailed.
+
=item B<--no-svn>
Skip contacting the Subversion server.
@@ -1827,22 +1841,29 @@
--no-build Skip the build process.
--no-install Don't automatically install after build.
- --svn-only Update from Subversion only (Identical to --no-build at
- this point).
+ --svn-only Update from Subversion only (Identical to --no-build
+ at this point).
--build-only Build only, don't perform updates or install.
- --rc-file=<filename> Read configuration from filename instead of default.
- --debug Activates debug mode.
--pretend (or -p) Don't actually contact the Subversion server, run make,
or create/delete files and directories. Instead,
output what the script would have done.
+ --quiet (or -q) Be less descriptive of the build process, without
+ printing each little substep kdesvn-build is
+ performing.
+ --really-quiet Only warnings and errors will be displayed.
+ --verbose (or -v) Be *very* descriptive of the build process. Only
+ --debug outputs more.
+ --debug Activates debug mode.
+ --color
+ --no-color Add (or remove) color from the output.
+
+ --rc-file=<filename> Read configuration from filename instead of default.
--nice=<value> Allows you to run the script with a lower priority
The default value is 10 (lower priority by 10 steps).
--prefix=/kde/path This option is a shortcut to change the setting for
kdedir from the command line. It implies
--reconfigure.
- --color
- --no-color Add (or remove) color from the output.
--resume Tries to resume the make process from the last time
the script was run, without performing the Subversion
@@ -1863,8 +1884,9 @@
perform the build.
--install Try to install the packages passed on the command
line, or all packages in ~/.kdesvn-buildrc that don't
- have manual-build set. Building and Subversion updates are
- not performed.
+ have manual-build set. Building and Subversion
+ updates are not performed.
+
--<option>= Any unrecognized options are added to the global
configuration, overriding any value that may exist.
--<module>,<option>= Likewise, this allows you to override any module
@@ -2036,7 +2058,7 @@
last SWITCH;
};
- /^(--pretend)|(-p)$/ && do {
+ /^(--dry-run)|(--pretend)|(-p)$/ && do {
set_option('global', '#pretend', 1);
last SWITCH;
};
Git commit 6168825682c81d3e6984b698d8cfa822bac1797d by Michael Pyne. Committed on 25/07/2005 at 02:45. Pushed by ashark into branch 'docbook_historied_per_file'. Add documentation for the recently added --quiet option. Also, make --dry-run an alias for --pretend since --dry-run seems to be a common name for that type of option. svn path=/trunk/KDE/kdesdk/doc/scripts/kdesvn-build/; revision=438341 Original commit: 660d9d66 https://invent.kde.org/sdk/kdesrc-build/-/commit/660d9d660e3e8047fb1379e1d656472dcf6d4202 M +23 -1 doc/cmdline/index.docbook https://invent.kde.org/sdk/kdesrc-build/-/commit/6168825682c81d3e6984b698d8cfa822bac1797d |