[Rpm-maint] [rpm-software-management/rpm] Add some tests (PR #2254)

2022-11-02 Thread xujing
You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2254 -- Commit Summary -- * tests: add test for parseForVerify * tests: add test for Obsoletes -- File Changes -- A tests/data/SPECS/test-obsoletes.spec (19) A tes

Re: [Rpm-maint] [rpm-software-management/rpm] Translations update from Fedora Weblate (PR #2167)

2022-11-02 Thread Panu Matilainen
Merged #2167 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2167#event-7720770044 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint maili

[Rpm-maint] [rpm-software-management/rpm] Translations update from Fedora Weblate (PR #2255)

2022-11-02 Thread Weblate (bot)
Translations update from [Fedora Weblate](https://translate.fedoraproject.org) for [rpm/master](https://translate.fedoraproject.org/projects/rpm/master/). Current translation status: ![Weblate translation status](https://translate.fedoraproject.org/widgets/rpm/-/master/horizontal-auto.svg) Yo

[Rpm-maint] [rpm-software-management/rpm] Split off translations into a separate project (PR #2256)

2022-11-02 Thread Panu Matilainen
With Weblate managing our translations, carrying them does nothing but create conflicts and annoyances of various kinds. Besides, the translation updates are nothing but an annoyance in the git history. Translators deserve credit for their work as much as anyone, but the code history is the wron

Re: [Rpm-maint] [rpm-software-management/rpm] Split off translations to a separate project (PR #2256)

2022-11-02 Thread Panu Matilainen
@pmatilai pushed 1 commit. 4292f3ca328273e198a999d30663426541227be0 Add rpm-l10n as a submodule into po/ -- View it on GitHub: https://github.com/rpm-software-management/rpm/pull/2256/files/f3d7f6dbea7283601c530a2110b57f3d9d645514..4292f3ca328273e198a999d30663426541227be0 You are receiving this

Re: [Rpm-maint] [rpm-software-management/rpm] Split off translations to a separate project (PR #2256)

2022-11-02 Thread Panu Matilainen
Merged #2256 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2256#event-7722821069 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint maili

Re: [Rpm-maint] [rpm-software-management/rpm] Translations update from Fedora Weblate (PR #2255)

2022-11-02 Thread Panu Matilainen
Closed #2255. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2255#event-7722867458 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-

Re: [Rpm-maint] [rpm-software-management/rpm] Translations update from Fedora Weblate (PR #2255)

2022-11-02 Thread Panu Matilainen
Ugh, Weblate was supposed to be locked during the operation but this one thing got through... -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2255#issuecomment-1300291815 You are receiving this because you are subscribed to this thread.

Re: [Rpm-maint] [rpm-software-management/rpm] Split translations into a separate project, a'la dnf (Issue #2239)

2022-11-02 Thread Panu Matilainen
Closed #2239 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2239#event-7722876382 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint ma

Re: [Rpm-maint] [rpm-software-management/rpm] Split translations into a separate project, a'la dnf (Issue #2239)

2022-11-02 Thread Panu Matilainen
"Fixed" as of PR #2256 . There are further integration steps to be done, to be tracked separately. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2239#issuecomment-1300293967 You are receiving this because you are subscribed to this th

Re: [Rpm-maint] [rpm-software-management/rpm] Axe man page translations (PR #2245)

2022-11-02 Thread Panu Matilainen
Okay, apparently nobody is that attached to these... -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2245#issuecomment-1300301233 You are receiving this because you are subscribed to this thread. Message ID: __

Re: [Rpm-maint] [rpm-software-management/rpm] Axe man page translations (PR #2245)

2022-11-02 Thread Panu Matilainen
Merged #2245 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2245#event-7722907903 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint maili

[Rpm-maint] [rpm-software-management/rpm] Set up automated string extraction for translations (Issue #2257)

2022-11-02 Thread Panu Matilainen
This maybe belongs more to rpm-l10n but we don't (want to) have issues on that separately, so filing here. We need to setup translatable string extraction someplace to feed into rpm-l10n feeding into Weblate, perhaps GitHub action as anaconda uses which would make the whole thing very hands-off

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Panu Matilainen
@pmatilai commented on this pull request. > @@ -49,14 +49,14 @@ At the end of invocation of a parameterized macro, the > above macros are Within the body of a macro, there are several constructs that permit testing for the presence of optional parameters. The simplest construct -is "%{-f}"

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Frank Dana
@ferdnyc commented on this pull request. > @@ -49,14 +49,14 @@ At the end of invocation of a parameterized macro, the > above macros are Within the body of a macro, there are several constructs that permit testing for the presence of optional parameters. The simplest construct -is "%{-f}" w

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Frank Dana
@ferdnyc commented on this pull request. > @@ -49,14 +49,14 @@ At the end of invocation of a parameterized macro, the > above macros are Within the body of a macro, there are several constructs that permit testing for the presence of optional parameters. The simplest construct -is "%{-f}" w

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Frank Dana
@ferdnyc commented on this pull request. > +`%{?!macro_name:value}` is the negative variant. It is expanded to "value" +if "macro_name" not is defined. Otherwise it is expanded to the empty string. Here, by the same logic, "value" wouldn't be fenced -- but `macro_name` probably should be. (Als

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Frank Dana
@ferdnyc pushed 1 commit. 67a0fa39919fca7875d672d5cd2b131370724433 Docs: macros: Add some missing fencing, fix grammar -- View it on GitHub: https://github.com/rpm-software-management/rpm/pull/2251/files/865fe590f0335a804f177f04236f77bcd7eecc20..67a0fa39919fca7875d672d5cd2b131370724433 You are

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Frank Dana
@ferdnyc commented on this pull request. > @@ -49,14 +49,14 @@ At the end of invocation of a parameterized macro, the > above macros are Within the body of a macro, there are several constructs that permit testing for the presence of optional parameters. The simplest construct -is "%{-f}" w

[Rpm-maint] [rpm-software-management/rpm] cmake + lua (Issue #2258)

2022-11-02 Thread Neal H. Walfield
While investigating [this issue](https://github.com/rpm-software-management/rpm-sequoia/issues/20), I tried to build `rpm` as follows: ``` $ cmake -DENABLE_PYTHON=OFF .. ... -- Checking for module 'lua' -- Found lua, version 5.4.2 ... -- Configuring done -- Generating done -- Build files have

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Frank Dana
@ferdnyc commented on this pull request. > +…where `` is a legal macro name and `` is the body of the macro. +Multiline macros can be defined by shell-like line continuation, ie ``\`` ^ Another option would be to have GitHub Actions regenerate the website automatically on every push to the `ma

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Frank Dana
@ferdnyc commented on this pull request. > +…where `` is a legal macro name and `` is the body of the macro. +Multiline macros can be defined by shell-like line continuation, ie ``\`` (I'm assuming the site is pre-rendered to static HTML. If rpm.org runs directly off the `.md` files and render

[Rpm-maint] [rpm-software-management/rpm] Document and/or implement the rpm.org content generation process (Issue #2259)

2022-11-02 Thread Frank Dana
> On a related note, we should have docs/README explaining how to test-render > locally for rpm.org... _Originally posted by @pmatilai in https://github.com/rpm-software-management/rpm/pull/2251#discussion_r1010414825_ -- Reply to this email directly or view it on GitHub: https://gith

Re: [Rpm-maint] [rpm-software-management/rpm] Document and/or implement the rpm.org content generation process (Issue #2259)

2022-11-02 Thread Frank Dana
I responded: ^ Another option would be to have GitHub Actions regenerate the website automatically on every push to the master branch. (Or, every push that touches the docs/ subdir. GitHub Actions' job triggers are capable of that level of precision.) The Action could either export the generat

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Frank Dana
@ferdnyc commented on this pull request. > +…where `` is a legal macro name and `` is the body of the macro. +Multiline macros can be defined by shell-like line continuation, ie ``\`` I've created #2259 for the above. -- Reply to this email directly or view it on GitHub: https://github.com/rp

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Panu Matilainen
@pmatilai commented on this pull request. > @@ -49,14 +49,14 @@ At the end of invocation of a parameterized macro, the > above macros are Within the body of a macro, there are several constructs that permit testing for the presence of optional parameters. The simplest construct -is "%{-f}"

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Panu Matilainen
Thanks for the fixes! -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2251#issuecomment-1301697535 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mai

Re: [Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)

2022-11-02 Thread Panu Matilainen
Merged #2251 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2251#event-7729247667 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint maili