DocBook v2

Thibaut Cuvelier tcuvelier at lyx.org
Sat Sep 19 18:54:16 UTC 2020


On Sat, 19 Sep 2020 at 18:29, Scott Kostyshak <skostysh at lyx.org> wrote:

> On Sat, Sep 19, 2020 at 05:55:13PM +0200, Thibaut Cuvelier wrote:
> > On Sat, 19 Sep 2020 at 14:48, Kornel Benko <kornel at lyx.org> wrote:
> >
> > > Am Sat, 19 Sep 2020 14:44:25 +0200
> > > schrieb Kornel Benko <kornel at lyx.org>:
> > >
> > > > Am Sat, 19 Sep 2020 14:28:59 +0200
> > > > schrieb Kornel Benko <kornel at lyx.org>:
> > > >
> > > > > Am Sat, 19 Sep 2020 12:41:47 +0200
> > > > > schrieb Kornel Benko <kornel at lyx.org>:
> > > > >
> > > > > > Also the test export/doc/de/UserGuide_xhtml fails here.
> > > > > > Assertion triggered in void lyx::doAssertWithCallstack(bool) by
> > > failing check
> > > > > > "false" in file
> > > /usr2/src/lyx/lyx-features/src/support/lassert.cpp:44
> > > > >
> > > > > Debugger shows problem in src/support/docstring.cpp:54 (in
> > > from_ascii())
> > > > >     LATTEST(static_cast<unsigned char>(ascii[i]) < 0x80);
> > > > >
> > > > > The tested string is utf-8 encoded, so wrong call.
> > > > >
> > > > > Called from src/xml.h:187, with following values
> > > > > tag = "a"
> > > > > attr = "href=\"https://de.wikipedia.org/wiki/Regulärer_Ausdruck\""
> > > > >
> > > > > Apparently the attr contains non-ascii.
> > > > >
> > > > >     Kornel
> > > > >
> > > >
> > > > Test passes with attached
> > > >
> > > >       Kornel
> > >
> > > The nice thing is that also the other tests pass now.
> > >
> >
> > Nice :D!
>
> Nice indeed! Great work, Kornel and Thibaut.
>
> > I've committed your patch on my branch
> > (1b9da1fcac5c9c4ecfdf7eb2d64e841c9bf40217), then rebased on top of
> current
> > master (f55bd760960d2ef109d1583396e1944038121854).
>
> I just fetched origin/master and do not see f55bd760. That commit is in
> features repo only I think.
>
> > Did I make a mistake? (Before merging this into master and creating
> > problems for everyone…) While rebasing, Git worked on more than 400
> > commits, although I did not make that many commits, that's why I ask.
>
> I suggest you do the following:
>
> 1. Copy your directory to a backup directory somewhere outside of the
>    git directory. This way, you have a full backup (because everything
>    is stored in the .git subdirectory) in case the rebase has problems
>    so you can always go to your backup until you push.
> 2. Do a git checkout of origin master. pull origin master. Make sure
>    when you do "git status" everything looks clean and up to date.
> 3. Do a git checkout of your docbook branch. Check git status to see if
>    it clean. Then rebase on top of master. I just did this and there
>    were conflicts that need to be resolved, which to me suggests that
>    something did indeed go wrong with the commands you did. If in doubt,
>    save the commands you did and the output so you can send them and we
>    can take a look.
>
> From what I understand, if (3) goes well, then the latest commit hash of
> master should be in the history of your docbook branch. That is, if you
> do "git log" on your docbook branch and search (e.g., with '/'), you
> should be able to find the hash from origin master's HEAD. Once this is
> the case, I think you're ready for the next step:
>
> 4. Checkout master. Do "git merge --no-ff <your docbook branch>". In my
>    opinion, the "--no-ff" is very important. Otherwise, a fast-forward
>    merge will complicate future git bisects.
>
> I don't know git that well, so if others have advice, go with that
> instead of the above.
>

I did the rebase again, as you suggested, and the results were better.
Therefore, I have merged it in master.

Thank you all for your time and contributions on this!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200919/a2b32663/attachment.html>


More information about the lyx-devel mailing list