Re: Dictionaries in Win installer (was: LyX 2.4.0 & Jupyter Notebooks)

2024-04-10 Thread Yu Jin
Am Mi., 10. Apr. 2024 um 23:38 Uhr schrieb Pavel Sanda:

> On Wed, Apr 10, 2024 at 09:38:04PM +0200, Pavel Sanda wrote:
> > It was under svn, not git until few weeks back when we update our infra.
> > Now both git or trac can be used (I used trac just because the conversion
> > patch was easier to write, but feel free to use git if you want, it's the
> > primary source after all).
>
> BTW since I inadvertedly broke windows installs (dictionary URLs need
> to be fixed for new releases) and accidentally found that our trac log
> exploded with warnings about inexisting paths - I was able to narrow down
> number of unique attempts to download sets of dictionaries. It gives ~50
> win
> installs requesting at least 1 dictionary per day during last 20 days.
>
> We never had any idea about the order of magnitude of our reach,
> this gives some approximation to ~18k win installs per year...
>

At least those that request a dictionary, because some common dictionaries
(german, few english variants, french, spanish) are included in the
installer itself so they never get requested.
-- 
  Eugene
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Dictionaries in Win installer (was: LyX 2.4.0 & Jupyter Notebooks)

2024-04-10 Thread Pavel Sanda
On Wed, Apr 10, 2024 at 09:38:04PM +0200, Pavel Sanda wrote:
> It was under svn, not git until few weeks back when we update our infra.
> Now both git or trac can be used (I used trac just because the conversion
> patch was easier to write, but feel free to use git if you want, it's the
> primary source after all).

BTW since I inadvertedly broke windows installs (dictionary URLs need
to be fixed for new releases) and accidentally found that our trac log
exploded with warnings about inexisting paths - I was able to narrow down
number of unique attempts to download sets of dictionaries. It gives ~50 win 
installs requesting at least 1 dictionary per day during last 20 days.

We never had any idea about the order of magnitude of our reach,
this gives some approximation to ~18k win installs per year... 

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Dictionaries in Win installer (was: LyX 2.4.0 & Jupyter Notebooks)

2024-04-10 Thread Pavel Sanda
On Wed, Apr 10, 2024 at 09:22:43PM +0200, Yu Jin wrote:
> Yeah I just wanted to do that too, looks good, but it should also be
> backported to 2.4.x and 2.4.1-devel?

Already backported...

> I was just searching for a reason why trac is used there in the first place
> instead of https://git.lyx.org/, I remember there was a reason but not what
> it was exactly, but can't find it any more, I think there was a discussion
> in a ticket on track somewhere.

It was under svn, not git until few weeks back when we update our infra.
Now both git or trac can be used (I used trac just because the conversion
patch was easier to write, but feel free to use git if you want, it's the
primary source after all).

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Dictionaries in Win installer (was: LyX 2.4.0 & Jupyter Notebooks)

2024-04-10 Thread Yu Jin
Am Mi., 10. Apr. 2024 um 21:18 Uhr schrieb Pavel Sanda:

> On Wed, Apr 10, 2024 at 04:10:07PM +0200, Pavel Sanda wrote:
> > On Wed, Apr 10, 2024 at 12:22:46PM +, Bernt Lie wrote:
> > > OK - I'm in the process of downloading LyX 2.4.0 RC4, with MikTeX as
> back-end (I already had MikTeX installed...).
> > >
> > > This is what didn't work so far (during installation):
> > > * installation of dictionaries and thesauri in both Norwegian forms
> failed (Norsk Bokm??l, Nynorsk)
> > > * installation of thesauri in US and GB English failed.
> >
> > This looks like a problem in our win installer.
> > Eugene, do dictionaries installation work for you now?
> >
> > If they are not part of the package but we download them,
> > things might be broken after our recent infrastracture updates.
> >
> > The primary repository address is now at git (e.g.
> https://git.lyx.org/gitweb/?p=dictionaries.git;a=summary );
> > trac can be still used (mirror), but has slightly different url and
> scheme (no more lyxsvn and no "trunk").
>
> I indeed found that there are old links are present in dictionaries.nsh
> and took
> the liberty of fixing them. But untested, please check...


Yeah I just wanted to do that too, looks good, but it should also be
backported to 2.4.x and 2.4.1-devel?
I was just searching for a reason why trac is used there in the first place
instead of https://git.lyx.org/, I remember there was a reason but not what
it was exactly, but can't find it any more, I think there was a discussion
in a ticket on track somewhere.

-- 
  Eugene
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Dictionaries in Win installer (was: LyX 2.4.0 & Jupyter Notebooks)

2024-04-10 Thread Pavel Sanda
On Wed, Apr 10, 2024 at 04:10:07PM +0200, Pavel Sanda wrote:
> On Wed, Apr 10, 2024 at 12:22:46PM +, Bernt Lie wrote:
> > OK - I'm in the process of downloading LyX 2.4.0 RC4, with MikTeX as 
> > back-end (I already had MikTeX installed...).
> > 
> > This is what didn't work so far (during installation):
> > * installation of dictionaries and thesauri in both Norwegian forms failed 
> > (Norsk Bokm??l, Nynorsk)
> > * installation of thesauri in US and GB English failed.
> 
> This looks like a problem in our win installer.
> Eugene, do dictionaries installation work for you now?
> 
> If they are not part of the package but we download them,
> things might be broken after our recent infrastracture updates.
> 
> The primary repository address is now at git (e.g. 
> https://git.lyx.org/gitweb/?p=dictionaries.git;a=summary );
> trac can be still used (mirror), but has slightly different url and scheme 
> (no more lyxsvn and no "trunk").

I indeed found that there are old links are present in dictionaries.nsh and took
the liberty of fixing them. But untested, please check...

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel