[docs.kde.org] [Bug 481176] New: KAlarm stable documentation shows old version

2024-02-10 Thread David Jarvie
https://bugs.kde.org/show_bug.cgi?id=481176

Bug ID: 481176
   Summary: KAlarm stable documentation shows old version
Classification: Websites
   Product: docs.kde.org
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kde-doc-english@kde.org
  Reporter: djar...@kde.org
  Target Milestone: ---

SUMMARY

The stable KAlarm documentation at
https://docs.kde.org/stable5/en/kalarm/kalarm/index.html is out of date.  It
currently shows a version from May 2022 which applied up to KDE Gear 23.04.3,
but the document was subsequently updated in the KDE Gear 23.08 release. It has
also now had another update for the 23.08.5 release.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[pim/kalarm/release/24.02] doc: Bug 481132: Remove description of local directory calendars, which are no longer supported

2024-02-10 Thread David Jarvie
Git commit 936f9adf949e8b273ebaadf4bb1e12ab0f945994 by David Jarvie.
Committed on 10/02/2024 at 17:38.
Pushed by djarvie into branch 'release/24.02'.

Bug 481132: Remove description of local directory calendars, which are no 
longer supported

M  +2-7doc/index.docbook

https://invent.kde.org/pim/kalarm/-/commit/936f9adf949e8b273ebaadf4bb1e12ab0f945994

diff --git a/doc/index.docbook b/doc/index.docbook
index 24ba54ca9..05ea68511 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -762,8 +762,10 @@ you can change if you wish.
 
 Storage type
 
+
 
 
 Local file: Alarms are stored in a single local file
@@ -774,13 +776,6 @@ computer, can include alarm calendars on the local network 
as long as
 their location can be represented by a path name starting with
 /.
 
-
-Local directory: Alarms are stored in a local folder,
-each alarm being stored in a separate iCalendar file within the
-folder. This storage method has the advantage that in the event of
-file corruption, you should lose only one alarm, not the entire
-calendar.
-
 

[pim/kalarm/release/23.08] doc: Bug 481132: Remove description of local directory calendars, which are no longer supported

2024-02-10 Thread David Jarvie
Git commit 268ecdf9300a900a6b9cd0908ae670ec342b59e9 by David Jarvie.
Committed on 10/02/2024 at 17:38.
Pushed by djarvie into branch 'release/23.08'.

Bug 481132: Remove description of local directory calendars, which are no 
longer supported

M  +2-7doc/index.docbook

https://invent.kde.org/pim/kalarm/-/commit/268ecdf9300a900a6b9cd0908ae670ec342b59e9

diff --git a/doc/index.docbook b/doc/index.docbook
index dc9e4f1fb..4d0c0e35d 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -762,8 +762,10 @@ you can change if you wish.
 
 Storage type
 
+
 
 
 Local file: Alarms are stored in a single local file
@@ -774,13 +776,6 @@ computer, can include alarm calendars on the local network 
as long as
 their location can be represented by a path name starting with
 /.
 
-
-Local directory: Alarms are stored in a local folder,
-each alarm being stored in a separate iCalendar file within the
-folder. This storage method has the advantage that in the event of
-file corruption, you should lose only one alarm, not the entire
-calendar.
-
 

[pim/kalarm] doc: Bug 481132: Remove description of local directory calendars, which are no longer supported

2024-02-10 Thread David Jarvie
Git commit 11ac746d7c360c09b38752269ad6e40e8bf28e0a by David Jarvie.
Committed on 10/02/2024 at 15:34.
Pushed by djarvie into branch 'master'.

Bug 481132: Remove description of local directory calendars, which are no 
longer supported

M  +2-7doc/index.docbook

https://invent.kde.org/pim/kalarm/-/commit/11ac746d7c360c09b38752269ad6e40e8bf28e0a

diff --git a/doc/index.docbook b/doc/index.docbook
index 3fff8b41..565a480b 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -762,8 +762,10 @@ you can change if you wish.
 
 Storage type
 
+
 
 
 Local file: Alarms are stored in a single local file
@@ -774,13 +776,6 @@ computer, can include alarm calendars on the local network 
as long as
 their location can be represented by a path name starting with
 /.
 
-
-Local directory: Alarms are stored in a local folder,
-each alarm being stored in a separate iCalendar file within the
-folder. This storage method has the advantage that in the event of
-file corruption, you should lose only one alarm, not the entire
-calendar.
-
 

[sdk/kdesrc-build] /: Add build-system query mode

2024-02-10 Thread Andrew Shark
Git commit 139fdc94f4e4a469ff3b0f245a3626f3b58e3556 by Andrew Shark.
Committed on 10/02/2024 at 12:33.
Pushed by ashark into branch 'master'.

Add build-system query mode

M  +4-0doc/man-kdesrc-build.1.docbook
M  +4-0doc/supported-cmdline-params.docbook
M  +2-0modules/ksb/Application.pm

https://invent.kde.org/sdk/kdesrc-build/-/commit/139fdc94f4e4a469ff3b0f245a3626f3b58e3556

diff --git a/doc/man-kdesrc-build.1.docbook b/doc/man-kdesrc-build.1.docbook
index d8c7f41c..bdadfe7e 100644
--- a/doc/man-kdesrc-build.1.docbook
+++ b/doc/man-kdesrc-build.1.docbook
@@ -683,6 +683,10 @@ one of the following:
 module-set, which causes &kdesrc-build; to
 output the name of module-set which contains the module. This can be 
used
 to generate zsh autocompletion cache.
+build-system, which causes &kdesrc-build; 
to
+output the name of build system detected for the module. This can be 
used
+to debug build system auto-detection problems, or when developing 
tests for specific build systems.
+
 Otherwise, option names that are valid for modules in the
 configuration file can be used, the resolved value of which will be
 listed for each module.
diff --git a/doc/supported-cmdline-params.docbook 
b/doc/supported-cmdline-params.docbook
index 86eaf976..95367ed7 100644
--- a/doc/supported-cmdline-params.docbook
+++ b/doc/supported-cmdline-params.docbook
@@ -306,6 +306,10 @@ one of the following:
 output the name of module-set which contains the module. This can be 
used
 to generate zsh autocompletion cache.
 
+build-system, which causes 
&kdesrc-build; to
+output the name of build system detected for the module. This can be 
used
+to debug build system auto-detection problems, or when developing 
tests for specific build systems.
+
 Any option name that is valid for modules in the
 configuration file.
 
diff --git a/modules/ksb/Application.pm b/modules/ksb/Application.pm
index 0bc1b082..73ec5b12 100644
--- a/modules/ksb/Application.pm
+++ b/modules/ksb/Application.pm
@@ -624,6 +624,8 @@ sub runAllModulePhases
 $query = sub 
{($_[0]->scm()->_determinePreferredCheckoutSource())[0] // ""}
 } elsif ($queryMode eq "module-set") {
 $query = sub { $_[0]->{"module-set"}->{"name"} // 
"undefined_module-set"}
+} elsif ($queryMode eq "build-system") {
+$query = sub { $_[0]->buildSystem()->name() }
 } else {  # Default to ->getOption as query method.
 $query = sub { $_[0]->getOption($queryMode) }
 }


[sdk/kdesrc-build] /: Remove --print-modules and --list-build options

2024-02-10 Thread Andrew Shark
Git commit 08c6bb39486fc51aca90a20708f65ee3ae7eb0eb by Andrew Shark.
Committed on 10/02/2024 at 09:37.
Pushed by ashark into branch 'master'.

Remove --print-modules and --list-build options

There are already `--query module-set` and `--query branch` options, no need to 
create unnecessarily entities.

The --list-build tree indentation was not properly implemented, but made 
correctly in dependency-tree.

The #dependency-level sticky option was never set, so print-modules indentation 
was broken forever.

The zsh completion script relied on --list-build option and needs to be 
reworked.

M  +0-2completions/zsh/_kdesrc-build
M  +1-1completions/zsh/_kdesrc-build_modules
M  +1-5doc/README.md
M  +0-67   doc/man-kdesrc-build.1.docbook
M  +0-48   doc/supported-cmdline-params.docbook
M  +0-25   modules/ksb/Application.pm
M  +0-4modules/ksb/Cmdline.pm
M  +5-3scripts/gen_zsh_completions.py

https://invent.kde.org/sdk/kdesrc-build/-/commit/08c6bb39486fc51aca90a20708f65ee3ae7eb0eb

diff --git a/completions/zsh/_kdesrc-build b/completions/zsh/_kdesrc-build
index 4e42e40c..8dccee6f 100644
--- a/completions/zsh/_kdesrc-build
+++ b/completions/zsh/_kdesrc-build
@@ -49,7 +49,6 @@ _arguments \
   "(--install-session-driver 
--no-install-session-driver)"{--install-session-driver,--no-install-session-driver}"[Install
 a driver for the graphical login manager]" \
   "--libname""[Default name of the installed library directory]"":argument:" \
   "--libpath""[Set the environment variable LD_LIBRARY_PATH while 
building]"":argument:" \
-  "--list-build""[List what modules would be built in the order in which they 
would be built]" \
   "--log-dir""[Directory used to hold the log files generated by the 
script]"":argument:" \
   "--make-install-prefix""[A command and its options to precede the make 
install command used to install modules]"":argument:" \
   "--make-options""[Pass command line options to the make 
command]"":argument:" \
@@ -61,7 +60,6 @@ _arguments \
   "--override-build-system""[Manually specify the correct build 
type]"":argument:" \
   "--persistent-data-file""[Change where kdesrc-build stores its persistent 
data]"":argument:" \
   "(--dry-run --pretend -p)"{--dry-run,--pretend,-p}"[Dont actually take major 
actions, instead describe what would be done]" \
-  "--print-modules""[Prints the modules that would be processed]" \
   "(--purge-old-logs 
--no-purge-old-logs)"{--purge-old-logs,--no-purge-old-logs}"[Automatically 
delete old log directories]" \
   "--qmake-options""[Options passed to the qmake command]"":argument:" \
   "--qt-install-dir""[Where to install qt modules after build]"":argument:" \
diff --git a/completions/zsh/_kdesrc-build_modules 
b/completions/zsh/_kdesrc-build_modules
index 0e5a1d30..ec91aa82 100644
--- a/completions/zsh/_kdesrc-build_modules
+++ b/completions/zsh/_kdesrc-build_modules
@@ -13,7 +13,7 @@ if _cache_invalid kdesrc_build_modules || ! _retrieve_cache 
kdesrc_build_modules
   # (@) array Expansion Flags are needed because we need to operate on each 
element separately.
   kdesrc_build_modules=( "${(@)${(@)${(@)${(f)"$(
 _call_program kdesrc-build-modules \
-  kdesrc-build --list-build --no-src
+  kdesrc-build --query module-set --no-src
 )"}[1,-2]}# ── }%% *}" )
   _store_cache kdesrc_build_modules kdesrc_build_modules
 fi
diff --git a/doc/README.md b/doc/README.md
index 0c846677..9d51bc55 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -48,10 +48,6 @@ These are some kdesrc-build tricks that probably should be 
documented with the
 [KDE Community Wiki 
page](https://community.kde.org/Get_Involved/development#Set_up_kdesrc-build)
 but for now they're at least worth nothing here:
 
-- Use `--print-modules` to view which modules kdesrc-build would build, in the
-  order they would be built in. This implies `--pretend` although it doesn't 
hurt
-  to include that.
-
 - Use `kdesrc-build --rebuild-failures` (potentially with `--no-src`) to
   rebuild modules that failed to build during the last kdesrc-build run. This
   is particularly useful when a silly local error breaks an important module
@@ -107,7 +103,7 @@ but for now they're at least worth nothing here:
 - Use `--resume-from` (or `--resume-after`) to have kdesrc-build start the
   build from a later module than normal, and `--stop-before` (or
   `--stop-after`) to have kdesrc-build stop the build at an earlier module than
-  normal. This can also be used with `--print-modules`.
+  normal.
 
 - Use the `ignore-modules` option with your module sets if you want to build
   every module in the set *except* for a few specific ones.
diff --git a/doc/man-kdesrc-build.1.docbook b/doc/man-kdesrc-build.1.docbook
index 3fa71162..d8c7f41c 100644
--- a/doc/man-kdesrc-build.1.docbook
+++ b/doc/man-kdesrc-build.1.docbook
@@ -516,11 +516,6 @@ Edit the "~/.bashrc" (or other shell rc file) to add 
&kdesrc-build; to your $PAT
 Consider using the --resume-from option