Re: Failed to clone the git repo of lyx.

2024-01-18 Thread Hongyi Zhao
On Fri, Jan 19, 2024 at 12:01 AM Richard Kimberly Heck
 wrote:
>
> On 1/18/24 00:17, Hongyi Zhao wrote:
> > On Thu, Jan 18, 2024 at 1:11 PM Hongyi Zhao  wrote:
> >> On Wed, Jan 17, 2024 at 11:54 PM Pavel Sanda  wrote:
> >>> On Wed, Jan 17, 2024 at 09:58:43PM +0800, Hongyi Zhao wrote:
>  However, I am not sure if this setting is correct and can work as
>  expected. Because I don't have much experience in this regard.
> >>> I can't be of much help here. Just FYI we are in the middle of slow
> >>> transition to a new git server, so you update process might need
> >>> some tinkering in near future (we'll announce here and on
> >>> announce maillist).
> >> Based on what I've seen so far, my repo doesn't automatically update
> >> to the latest official repo commit, so maybe it's because of what
> >> you've described above, or maybe there's something wrong with my
> >> workflow script.
> > I noticed that my workflow was running into the error shown in the
> > attached screenshot
>
> If I'm reading that right, the error is when you try to push to origin.
> Does origin exist? Where? The problem is with access to that repo.

I tried to ask GPT4 and got the following response:

If the remote repository only supports the git protocol and there is a
"connection reset by the peer" error, it might be a network issue,
maybe a firewall restriction.

From the workflow file, it appears you're using the GitHub-hosted
runner (runs-on: ubuntu-latest). In this configuration, the 'origin'
is a token representing the GitHub repository where the workflow is
running. This is not a 'physical' repository but an address in the
GitHub system that corresponds to your source repository (in this case
https://github.com/hongyi-zhao/lyx.git).

If the 'push origin master' command fails, it's likely because the
GitHub token doesn't have the necessary permission to push to the
master branch, perhaps due to branch protection rules.

>
> Riki

Regards,
Zhao
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-18 Thread Richard Kimberly Heck

On 1/18/24 00:17, Hongyi Zhao wrote:

On Thu, Jan 18, 2024 at 1:11 PM Hongyi Zhao  wrote:

On Wed, Jan 17, 2024 at 11:54 PM Pavel Sanda  wrote:

On Wed, Jan 17, 2024 at 09:58:43PM +0800, Hongyi Zhao wrote:

However, I am not sure if this setting is correct and can work as
expected. Because I don't have much experience in this regard.

I can't be of much help here. Just FYI we are in the middle of slow
transition to a new git server, so you update process might need
some tinkering in near future (we'll announce here and on
announce maillist).

Based on what I've seen so far, my repo doesn't automatically update
to the latest official repo commit, so maybe it's because of what
you've described above, or maybe there's something wrong with my
workflow script.

I noticed that my workflow was running into the error shown in the
attached screenshot


If I'm reading that right, the error is when you try to push to origin. 
Does origin exist? Where? The problem is with access to that repo.


Riki


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


Re: Failed to clone the git repo of lyx.

2024-01-18 Thread Hongyi Zhao
On Thu, Jan 18, 2024 at 4:34 PM Markus Oppmann
 wrote:
>
> Am 18.01.2024 um 06:17 schrieb lyx-users-requ...@lists.lyx.org:> On Thu,
> Jan 18, 2024 at 1:11?PM Hongyi Zhao  wrote:
> >>
> >> On Wed, Jan 17, 2024 at 11:54?PM Pavel Sanda  wrote:
> >>>
> >>> On Wed, Jan 17, 2024 at 09:58:43PM +0800, Hongyi Zhao wrote:
>  However, I am not sure if this setting is correct and can work as
>  expected. Because I don't have much experience in this regard.
> >>>
> >>> I can't be of much help here. Just FYI we are in the middle of slow
> >>> transition to a new git server, so you update process might need
> >>> some tinkering in near future (we'll announce here and on
> >>> announce maillist).
> >>
> >> Based on what I've seen so far, my repo doesn't automatically update
> >> to the latest official repo commit, so maybe it's because of what
> >> you've described above, or maybe there's something wrong with my
> >> workflow script.
> >
> > I noticed that my workflow was running into the error shown in the
> > attached screenshot
> >
> >>> Pavel
> >>
> >> Regards,
> >> Zhao
> While i cannot provide insight into the error cause, did you consider
> using git's --mirror push mode for your mirror repo?
> This option most importantly automatically does a force-update or
> force-delete of refs if they were changed or deleted. Also, it
> automatically pushes all locally present branches.
> 
>
> Also it may be useful to check this GitHub docs site about this matter:
> 

Now, I changed to the following:

name: "Sync"

on:
  schedule:
- cron:  '0 0 * * *'  # This sets the action to run every day at midnight

jobs:
  sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
  uses: actions/checkout@v3

- name: Mirror and Sync the repo
  run: |
git config --global user.name 'Hongyi Zhao'
git config --global user.email 'hongyi.z...@gmail.com'
git clone --mirror git://git.lyx.org/lyx.git
cd lyx
git remote set-url --push origin https://github.com/hongyi-zhao/lyx.git
git fetch -p origin
git push --mirror


Let's see whether it works this time.

> Regards, Markus

Regards,
Zhao

> --
> Markus Oppmann
> Öffentlicher Schlüssel:
> 
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-18 Thread Markus Oppmann
Am 18.01.2024 um 06:17 schrieb lyx-users-requ...@lists.lyx.org:> On Thu, 
Jan 18, 2024 at 1:11?PM Hongyi Zhao  wrote:


On Wed, Jan 17, 2024 at 11:54?PM Pavel Sanda  wrote:


On Wed, Jan 17, 2024 at 09:58:43PM +0800, Hongyi Zhao wrote:

However, I am not sure if this setting is correct and can work as
expected. Because I don't have much experience in this regard.


I can't be of much help here. Just FYI we are in the middle of slow
transition to a new git server, so you update process might need
some tinkering in near future (we'll announce here and on
announce maillist).


Based on what I've seen so far, my repo doesn't automatically update
to the latest official repo commit, so maybe it's because of what
you've described above, or maybe there's something wrong with my
workflow script.


I noticed that my workflow was running into the error shown in the
attached screenshot


Pavel


Regards,
Zhao
While i cannot provide insight into the error cause, did you consider 
using git's --mirror push mode for your mirror repo?
This option most importantly automatically does a force-update or 
force-delete of refs if they were changed or deleted. Also, it 
automatically pushes all locally present branches.



Also it may be useful to check this GitHub docs site about this matter: 



Regards, Markus
--
Markus Oppmann
Öffentlicher Schlüssel: 



OpenPGP_signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-17 Thread Richard Kimberly Heck

On 1/17/24 07:56, Hongyi Zhao wrote:

On Wed, Jan 17, 2024 at 1:28 AM Richard Kimberly Heck
 wrote:

On 1/16/24 08:02, Pavel Sanda wrote:

On Mon, Jan 15, 2024 at 03:56:56PM +0800, Hongyi Zhao wrote:

For me now, I can clone via

   > git clone git://git.lyx.org/lyx.git

anonymously. Does that work for you from the command line?

It also works for me, but the speed is very unstable, as shown in the
attached screenshot. So, I want to clone through my local socks5 proxy
running on 127.0.0.1:1, but don't know how to achieve this goal.

Speed should be matter of initial clone only. Once you have it locally,
fetching updates are reasonably small even for connection speeds like 10kb/s...

What we could perhaps do on our part is to clone master branch, compress
it into single file and put on the http://ftp.lyx.org/pub/lyx/devel/
with short readme explaining the situation.
We have currently two chinese mirrors, so there is a good chance for you to get
the initial clone very fast and then continue by fetching from original source
(US, Oregon).

@Riki: we used to have something like this on the ftp in the svn-git times.
ATM it should be enough just to do clean clone, take only .git directory,
tar.xz(*) it, create signature and upload to ftp.
I can create some explanation on our web...

Yes, I was thinking something like that, too. Even if it were only
updated once a year, it'd still make a huge difference.

I tried cloning the repo on GitLab (with the idea of instituting
automatic updates), but it did not work. I'm guessing it might have
timed out.

Why not just move the Git repository to Github, GitLab, and other free
git-based code hosting platforms?


The main reason has to do with our bug server, and the way it's 
integrated with git. But we also don't want to depend upon an external 
organization that way. We've been burned before when some such 
organization decides to change its policies, and what once was free no 
longer is.


Riki


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


Re: Failed to clone the git repo of lyx.

2024-01-17 Thread Richard Kimberly Heck

On 1/17/24 08:58, Hongyi Zhao wrote:

On Wed, Jan 17, 2024 at 9:41 PM Hongyi Zhao  wrote:

On Wed, Jan 17, 2024 at 9:34 PM Hongyi Zhao  wrote:

Now, I created the latest git repo of lyx on GitHub with my account as follows:

https://github.com/hongyi-zhao/lyx

The steps are as follows:

git clone https://github.com/unimiso/lyx_mirror.git lyx.git
cd lyx.git/
git remote set-url origin git://git.lyx.org/lyx.git
git pull
# Create an empty GitHub repo from scratch, and then do the following:
git remote set-url origin https://github.com/hongyi-zhao/lyx.git
git push

The current issue is: How can I regularly create a workflow that
automatically fetches updates from git://git.lyx.org/lyx.git to my
repository above? If I can achieve this, my repository can be
automatically, periodically checked, and synchronized with the
official upstream repository.

Now, I've set up a workflow in GitHub that periodically updates my
repository from the lyx official upstream repository
(git://git.lyx.org/lyx.git). See below for more details:

https://github.com/hongyi-zhao/lyx/blob/master/.github/workflows/sync.yml

However, I am not sure if this setting is correct and can work as
expected. Because I don't have much experience in this regard.


I'm not sure how many people here have tried that kind of thing.

Now that you have the repo, updating from the official git repo should 
be pretty fast. You can change your local copy to point to that instead, 
if you wish.


Riki


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


Re: Failed to clone the git repo of lyx.

2024-01-17 Thread Pavel Sanda
On Wed, Jan 17, 2024 at 09:58:43PM +0800, Hongyi Zhao wrote:
> However, I am not sure if this setting is correct and can work as
> expected. Because I don't have much experience in this regard.

I can't be of much help here. Just FYI we are in the middle of slow
transition to a new git server, so you update process might need
some tinkering in near future (we'll announce here and on
announce maillist).

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


Re: Failed to clone the git repo of lyx.

2024-01-17 Thread Hongyi Zhao
On Wed, Jan 17, 2024 at 9:41 PM Hongyi Zhao  wrote:
>
> On Wed, Jan 17, 2024 at 9:34 PM Hongyi Zhao  wrote:
> >
> > Now, I created the latest git repo of lyx on GitHub with my account as 
> > follows:
> >
> > https://github.com/hongyi-zhao/lyx
> >
> > The steps are as follows:
> >
> > git clone https://github.com/unimiso/lyx_mirror.git lyx.git
> > cd lyx.git/
> > git remote set-url origin git://git.lyx.org/lyx.git
> > git pull
> > # Create an empty GitHub repo from scratch, and then do the following:
> > git remote set-url origin https://github.com/hongyi-zhao/lyx.git
> > git push
>
> The current issue is: How can I regularly create a workflow that
> automatically fetches updates from git://git.lyx.org/lyx.git to my
> repository above? If I can achieve this, my repository can be
> automatically, periodically checked, and synchronized with the
> official upstream repository.

Now, I've set up a workflow in GitHub that periodically updates my
repository from the lyx official upstream repository
(git://git.lyx.org/lyx.git). See below for more details:

https://github.com/hongyi-zhao/lyx/blob/master/.github/workflows/sync.yml

However, I am not sure if this setting is correct and can work as
expected. Because I don't have much experience in this regard.

> > Regards,
> > Zhao
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-17 Thread Hongyi Zhao
On Wed, Jan 17, 2024 at 9:34 PM Hongyi Zhao  wrote:
>
> Now, I created the latest git repo of lyx on GitHub with my account as 
> follows:
>
> https://github.com/hongyi-zhao/lyx
>
> The steps are as follows:
>
> git clone https://github.com/unimiso/lyx_mirror.git lyx.git
> cd lyx.git/
> git remote set-url origin git://git.lyx.org/lyx.git
> git pull
> # Create an empty GitHub repo from scratch, and then do the following:
> git remote set-url origin https://github.com/hongyi-zhao/lyx.git
> git push

The current issue is: How can I regularly create a workflow that
automatically fetches updates from git://git.lyx.org/lyx.git to my
repository above? If I can achieve this, my repository can be
automatically, periodically checked, and synchronized with the
official upstream repository.

> Regards,
> Zhao
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-17 Thread Hongyi Zhao
Now, I created the latest git repo of lyx on GitHub with my account as follows:

https://github.com/hongyi-zhao/lyx

The steps are as follows:

git clone https://github.com/unimiso/lyx_mirror.git lyx.git
cd lyx.git/
git remote set-url origin git://git.lyx.org/lyx.git
git pull
# Create an empty GitHub repo from scratch, and then do the following:
git remote set-url origin https://github.com/hongyi-zhao/lyx.git
git push

Regards,
Zhao
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-17 Thread Hongyi Zhao
On Wed, Jan 17, 2024 at 8:56 PM Hongyi Zhao  wrote:
>
> On Wed, Jan 17, 2024 at 1:28 AM Richard Kimberly Heck
>  wrote:
> >
> > On 1/16/24 08:02, Pavel Sanda wrote:
> > > On Mon, Jan 15, 2024 at 03:56:56PM +0800, Hongyi Zhao wrote:
> > >>> For me now, I can clone via
> > >>>
> > >>>   > git clone git://git.lyx.org/lyx.git
> > >>>
> > >>> anonymously. Does that work for you from the command line?
> > >> It also works for me, but the speed is very unstable, as shown in the
> > >> attached screenshot. So, I want to clone through my local socks5 proxy
> > >> running on 127.0.0.1:1, but don't know how to achieve this goal.
> > > Speed should be matter of initial clone only. Once you have it locally,
> > > fetching updates are reasonably small even for connection speeds like 
> > > 10kb/s...
> > >
> > > What we could perhaps do on our part is to clone master branch, compress
> > > it into single file and put on the http://ftp.lyx.org/pub/lyx/devel/
> > > with short readme explaining the situation.
> > > We have currently two chinese mirrors, so there is a good chance for you 
> > > to get
> > > the initial clone very fast and then continue by fetching from original 
> > > source
> > > (US, Oregon).
> > >
> > > @Riki: we used to have something like this on the ftp in the svn-git 
> > > times.
> > > ATM it should be enough just to do clean clone, take only .git directory,
> > > tar.xz(*) it, create signature and upload to ftp.
> > > I can create some explanation on our web...
> >
> > Yes, I was thinking something like that, too. Even if it were only
> > updated once a year, it'd still make a huge difference.
> >
> > I tried cloning the repo on GitLab (with the idea of instituting
> > automatic updates), but it did not work. I'm guessing it might have
> > timed out.
>
> Why not just move the Git repository to Github, GitLab, and other free
> git-based code hosting platforms?

BTW, I've tried to search as follows on GitHub:

https://github.com/search?q=lyx+mirror=repositories=updated=desc

And found the following mirror:

https://github.com/unimiso/lyx_mirror

This mirror was updated last month, and the git clone speed is quite
satisfactory:

werner@X10DAi:~$ git clone https://github.com/unimiso/lyx_mirror.git
lyx_mirror.git
Cloning into 'lyx_mirror.git'...
remote: Enumerating objects: 500959, done.
remote: Total 500959 (delta 0), reused 0 (delta 0), pack-reused 500959
Receiving objects: 100% (500959/500959), 515.58 MiB | 15.24 MiB/s, done.
Resolving deltas: 100% (421117/421117), done.

Then I update the local git repo to the lastest commit as follows:

$ cd lyx_mirror.git
$ git remote add lyx git://git.lyx.org/lyx.git
$ git pull lyx HEAD
remote: Counting objects: 1248, done.
remote: Compressing objects: 100% (475/475), done.
Receiving objects: 100% (848/848), 3.19 MiB | 530.00 KiB/s, done.
remote: Total 848 (delta 629), reused 485 (delta 333)
Resolving deltas: 100% (629/629), completed with 307 local objects.
From git://git.lyx.org/lyx
 * branch  HEAD   -> FETCH_HEAD
Updating 378397a6c6..7b5fe0321e
Fast-forward
 ANNOUNCE
|10 +-
 NEWS  |   124 +
 autotests/export/latex/lyxbugs-resolved/13019-math-normalcolor.lyx|   101 +
 autotests/export/latex/lyxbugs-resolved/13022-unicode-ERT.lyx |   112 +
 configure.ac
| 4 +-
 development/MacOSX/ReadMe/Leame.lyx
| 2 +-
 development/MacOSX/ReadMe/LiesMich.lyx
| 2 +-
 development/MacOSX/ReadMe/LisezMoi.lyx
| 2 +-
 development/MacOSX/ReadMe/ReadMe.lyx
| 2 +-
 development/cmake/modules/LyXMacros.cmake
| 2 +-
 lib/CREDITS   | 9 +
 lib/RELEASE-NOTES | 9 +
 lib/bind/he/cua.bind  | 2 +
 lib/doc/Additional.lyx
| 39252 +++---
 lib/doc/Customization.lyx
|  4788 +---
 lib/doc/Development.lyx
| 2 +-
 lib/doc/DummyDocument1.lyx
| 2 +-
 lib/doc/DummyDocument2.lyx
| 2 +-
 lib/doc/EmbeddedObjects.lyx
|   770 +-
 lib/doc/Formula-numbering.lyx
| 2 +-
 lib/doc/Intro.lyx
|   784 +-
 lib/doc/LFUNs.lyx
|  2446 +-
 lib/doc/LaTeXConfig.lyx
|   462 +-
 lib/doc/Math.lyx
|   661 +-
 lib/doc/MergedManuals.lyx
| 2 +-
 lib/doc/Shortcuts.lyx
|   146 +-
 lib/doc/Tutorial.lyx
|   317 +-
 lib/doc/UserGuide.lyx
|  7001 +-
 lib/doc/ar/Intro.lyx
| 2 +-
 lib/doc/ar/Shortcuts.lyx
| 2 +-
 lib/doc/ar/Tutorial.lyx
| 2 +-
 lib/doc/ar/UserGuide.lyx
| 2 +-
 lib/doc/ca/Intro.lyx
| 2 +-
 lib/doc/ca/Shortcuts.lyx
| 2 +-
 lib/doc/cs/Tutorial.lyx
|36 +-
 lib/doc/da/Intro.lyx
| 2 +-
 lib/doc/de/Additional.lyx
| 2 +-
 lib/doc/de/DummyDocument1.lyx
| 2 +-
 lib/doc/de/DummyDocument2.lyx
| 2 +-
 lib/doc/de/EmbeddedObjects.lyx
| 2 +-
 lib/doc/de/Formelnummerierung.lyx
| 2 +-
 lib/doc/de/Intro.lyx
| 2 +-
 lib/doc/de/Math.lyx
| 2 +-
 

Re: Failed to clone the git repo of lyx.

2024-01-17 Thread Hongyi Zhao
On Wed, Jan 17, 2024 at 1:28 AM Richard Kimberly Heck
 wrote:
>
> On 1/16/24 08:02, Pavel Sanda wrote:
> > On Mon, Jan 15, 2024 at 03:56:56PM +0800, Hongyi Zhao wrote:
> >>> For me now, I can clone via
> >>>
> >>>   > git clone git://git.lyx.org/lyx.git
> >>>
> >>> anonymously. Does that work for you from the command line?
> >> It also works for me, but the speed is very unstable, as shown in the
> >> attached screenshot. So, I want to clone through my local socks5 proxy
> >> running on 127.0.0.1:1, but don't know how to achieve this goal.
> > Speed should be matter of initial clone only. Once you have it locally,
> > fetching updates are reasonably small even for connection speeds like 
> > 10kb/s...
> >
> > What we could perhaps do on our part is to clone master branch, compress
> > it into single file and put on the http://ftp.lyx.org/pub/lyx/devel/
> > with short readme explaining the situation.
> > We have currently two chinese mirrors, so there is a good chance for you to 
> > get
> > the initial clone very fast and then continue by fetching from original 
> > source
> > (US, Oregon).
> >
> > @Riki: we used to have something like this on the ftp in the svn-git times.
> > ATM it should be enough just to do clean clone, take only .git directory,
> > tar.xz(*) it, create signature and upload to ftp.
> > I can create some explanation on our web...
>
> Yes, I was thinking something like that, too. Even if it were only
> updated once a year, it'd still make a huge difference.
>
> I tried cloning the repo on GitLab (with the idea of instituting
> automatic updates), but it did not work. I'm guessing it might have
> timed out.

Why not just move the Git repository to Github, GitLab, and other free
git-based code hosting platforms?

> Riki

Regards,
Zhao
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-16 Thread Richard Kimberly Heck

On 1/16/24 08:02, Pavel Sanda wrote:

On Mon, Jan 15, 2024 at 03:56:56PM +0800, Hongyi Zhao wrote:

For me now, I can clone via

  > git clone git://git.lyx.org/lyx.git

anonymously. Does that work for you from the command line?

It also works for me, but the speed is very unstable, as shown in the
attached screenshot. So, I want to clone through my local socks5 proxy
running on 127.0.0.1:1, but don't know how to achieve this goal.

Speed should be matter of initial clone only. Once you have it locally,
fetching updates are reasonably small even for connection speeds like 10kb/s...

What we could perhaps do on our part is to clone master branch, compress
it into single file and put on the http://ftp.lyx.org/pub/lyx/devel/
with short readme explaining the situation.
We have currently two chinese mirrors, so there is a good chance for you to get
the initial clone very fast and then continue by fetching from original source
(US, Oregon).

@Riki: we used to have something like this on the ftp in the svn-git times.
ATM it should be enough just to do clean clone, take only .git directory,
tar.xz(*) it, create signature and upload to ftp.
I can create some explanation on our web...


Yes, I was thinking something like that, too. Even if it were only 
updated once a year, it'd still make a huge difference.


I tried cloning the repo on GitLab (with the idea of instituting 
automatic updates), but it did not work. I'm guessing it might have 
timed out.


Riki

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


Re: Failed to clone the git repo of lyx.

2024-01-16 Thread Pavel Sanda
On Mon, Jan 15, 2024 at 03:56:56PM +0800, Hongyi Zhao wrote:
> > For me now, I can clone via
> >
> >  > git clone git://git.lyx.org/lyx.git
> >
> > anonymously. Does that work for you from the command line?
> 
> It also works for me, but the speed is very unstable, as shown in the
> attached screenshot. So, I want to clone through my local socks5 proxy
> running on 127.0.0.1:1, but don't know how to achieve this goal.

Speed should be matter of initial clone only. Once you have it locally,
fetching updates are reasonably small even for connection speeds like 10kb/s...

What we could perhaps do on our part is to clone master branch, compress
it into single file and put on the http://ftp.lyx.org/pub/lyx/devel/
with short readme explaining the situation.
We have currently two chinese mirrors, so there is a good chance for you to get
the initial clone very fast and then continue by fetching from original source
(US, Oregon).


@Riki: we used to have something like this on the ftp in the svn-git times.
ATM it should be enough just to do clean clone, take only .git directory,
tar.xz(*) it, create signature and upload to ftp.
I can create some explanation on our web...

Pavel

(*) And zip? Dunno whether zipped clone on linux will work in windows
environment. Alternatively we could ask Euegen for windows based
clone.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-15 Thread Richard Kimberly Heck

On 1/15/24 02:56, Hongyi Zhao wrote:

On Mon, Jan 15, 2024 at 3:05 PM Richard Kimberly Heck
 wrote:

On 1/14/24 19:20, Hongyi Zhao wrote:

On Mon, Jan 15, 2024 at 1:29 AM Richard Kimberly Heck
 wrote:

On 1/13/24 20:06, Hongyi Zhao wrote:

Hi,

I'm trying to clone the git repo of lyx, but always fail, as shown below:

werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
Cloning into 'lyx'...
kex_exchange_identification: Connection closed by remote host
Connection closed by 127.0.0.1 port 1
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
werner@X10DAi:~$ git clone git://git.lyx.org/lyx
Cloning into 'lyx'...
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

It should work now.

Yes. It works now. as shown below, what's wrong with it before?

There was some kind of problem on the server.

I'm afraid I do not know why the script does not work.

What's the script mentioned by you above?


You had earlier mentioned a script. But I had in mind the use of the proxy.


For me now, I can clone via

  > git clone git://git.lyx.org/lyx.git

anonymously. Does that work for you from the command line?

It also works for me, but the speed is very unstable, as shown in the
attached screenshot.


The cloning operation takes quite a while. The entire repo is nearly a 
gigabyte, and the compression operation on the server is slow. We are 
hoping to migrate to new servers before too long, so this may improve.


Riki


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


Re: Failed to clone the git repo of lyx.

2024-01-14 Thread Hongyi Zhao
On Mon, Jan 15, 2024 at 3:05 PM Richard Kimberly Heck
 wrote:
>
> On 1/14/24 19:20, Hongyi Zhao wrote:
> > On Mon, Jan 15, 2024 at 1:29 AM Richard Kimberly Heck
> >  wrote:
> >> On 1/13/24 20:06, Hongyi Zhao wrote:
> >>> Hi,
> >>>
> >>> I'm trying to clone the git repo of lyx, but always fail, as shown below:
> >>>
> >>> werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
> >>> Cloning into 'lyx'...
> >>> kex_exchange_identification: Connection closed by remote host
> >>> Connection closed by 127.0.0.1 port 1
> >>> fatal: Could not read from remote repository.
> >>>
> >>> Please make sure you have the correct access rights
> >>> and the repository exists.
> >>> werner@X10DAi:~$ git clone git://git.lyx.org/lyx
> >>> Cloning into 'lyx'...
> >>> fatal: Could not read from remote repository.
> >>> Please make sure you have the correct access rights
> >>> and the repository exists.
> >> It should work now.
> > Yes. It works now. as shown below, what's wrong with it before?
>
> There was some kind of problem on the server.
>
> I'm afraid I do not know why the script does not work.

What's the script mentioned by you above?

> For me now, I can clone via
>
>  > git clone git://git.lyx.org/lyx.git
>
> anonymously. Does that work for you from the command line?

It also works for me, but the speed is very unstable, as shown in the
attached screenshot. So, I want to clone through my local socks5 proxy
running on 127.0.0.1:1, but don't know how to achieve this goal.

> Riki

Regards,
Zhao
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-14 Thread Richard Kimberly Heck

On 1/14/24 19:20, Hongyi Zhao wrote:

On Mon, Jan 15, 2024 at 1:29 AM Richard Kimberly Heck
 wrote:

On 1/13/24 20:06, Hongyi Zhao wrote:

Hi,

I'm trying to clone the git repo of lyx, but always fail, as shown below:

werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
Cloning into 'lyx'...
kex_exchange_identification: Connection closed by remote host
Connection closed by 127.0.0.1 port 1
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
werner@X10DAi:~$ git clone git://git.lyx.org/lyx
Cloning into 'lyx'...
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

It should work now.

Yes. It works now. as shown below, what's wrong with it before?


There was some kind of problem on the server.

I'm afraid I do not know why the script does not work. For me now, I can 
clone via


> git clone git://git.lyx.org/lyx.git

anonymously. Does that work for you from the command line?

Riki


--

Richard Kimberly (Riki) Heck
Professor of Philosophy
Brown University

Pronouns: they/them/their
Website:  http://rkheck.frege.org/

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


Re: Failed to clone the git repo of lyx.

2024-01-14 Thread Hongyi Zhao
On Mon, Jan 15, 2024 at 8:20 AM Hongyi Zhao  wrote:
>
> On Mon, Jan 15, 2024 at 1:29 AM Richard Kimberly Heck
>  wrote:
> >
> > On 1/13/24 20:06, Hongyi Zhao wrote:
> > > Hi,
> > >
> > > I'm trying to clone the git repo of lyx, but always fail, as shown below:
> > >
> > > werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
> > > Cloning into 'lyx'...
> > > kex_exchange_identification: Connection closed by remote host
> > > Connection closed by 127.0.0.1 port 1
> > > fatal: Could not read from remote repository.
> > >
> > > Please make sure you have the correct access rights
> > > and the repository exists.
> > > werner@X10DAi:~$ git clone git://git.lyx.org/lyx
> > > Cloning into 'lyx'...
> > > fatal: Could not read from remote repository.
> > > Please make sure you have the correct access rights
> > > and the repository exists.
> >
> > It should work now.
>
> Yes. It works now. as shown below, what's wrong with it before?
>
> $ pkill proxychains4-da
> $ proxychains4-daemon &
> [1] 10604
>
> $ grep -Ev '^[ ]*(#|$)' proxychains-ng-socks5.conf
> strict_chain
> proxy_dns_daemon 127.0.0.1:1053
> remote_dns_subnet 224
> tcp_read_time_out 15000
> tcp_connect_time_out 8000
>  localnet 127.0.0.0/255.0.0.0
>  localnet 10.0.0.0/255.0.0.0
>  localnet 172.16.0.0/255.240.0.0
>  localnet 192.168.0.0/255.255.0.0
> [ProxyList]
> socks5127.0.0.1 1
>
>
> # Monitor it by the following command in another terminal:
> $ sudo tcpdump -i lo port 1 -w - |pv >/dev/null
> # Test as follows:
> $ proxychains4 -f proxychains-ng-socks5.conf /bin/git clone
> https://github.com/torvalds/linux.git
> [proxychains] config file found: proxychains-ng-socks5.conf
> [proxychains] preloading /usr/local/lib/libproxychains4.so
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> Cloning into 'linux'...
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> 127.0.0.1:56126 requested ip for github.com (224.0.0.1)
> [proxychains] Strict chain  ...  127.0.0.1:1 127.0.0.1:59568
> requested name for 224.0.0.1 (github.com)
>  ...  github.com:443 127.0.0.1:47780 requested name for 224.0.0.1 (github.com)
>  ...  OK
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> remote: Enumerating objects: 9955539, done.
> ^Cceiving objects:   1% (149402/9955539), 72.91 MiB | 7.70 MiB/s
>
> $ grep -Ev '^[ ]*(#|$)' proxychains-ng-http.conf
> strict_chain
> proxy_dns_daemon 127.0.0.1:1053
> remote_dns_subnet 224
> tcp_read_time_out 15000
> tcp_connect_time_out 8000
>  localnet 127.0.0.0/255.0.0.0
>  localnet 10.0.0.0/255.0.0.0
>  localnet 172.16.0.0/255.240.0.0
>  localnet 192.168.0.0/255.255.0.0
> [ProxyList]
> http 127.0.0.1 8080
>
> # Monitor it by the following command in another terminal:
> $ sudo tcpdump -i lo port 8080 -w - |pv >/dev/null
> # Test as follows:
> $ proxychains4 -f proxychains-ng-http.conf /bin/git clone
> https://github.com/torvalds/linux.git
> [proxychains] config file found: proxychains-ng-http.conf
> [proxychains] preloading /usr/local/lib/libproxychains4.so
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> Cloning into 'linux'...
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> 127.0.0.1:36062 requested ip for github.com (224.0.0.1)
> [proxychains] Strict chain  ...  127.0.0.1:8080 127.0.0.1:57894
> requested name for 224.0.0.1 (github.com)
>  ...  github.com:443 127.0.0.1:41307 requested name for 224.0.0.1 (github.com)
>  ...  OK
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> remote: Enumerating objects: 9955539, done.
> ^Cceiving objects:   2% (199111/9955539), 96.58 MiB | 14.91 MiB/s

Sorry but I should have tested using the lyx git repo, and it still
doesn't work, as shown below:

$ pkill proxychains4-da
$ proxychains4-daemon &
[1] 10604

$ grep -Ev '^[ ]*(#|$)' proxychains-ng-socks5.conf
strict_chain
proxy_dns_daemon [127.0.0.1:1053](http://127.0.0.1:1053/)
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
 localnet [127.0.0.0/255.0.0.0](http://127.0.0.0/255.0.0.0)
 localnet [10.0.0.0/255.0.0.0](http://10.0.0.0/255.0.0.0)
 localnet [172.16.0.0/255.240.0.0](http://172.16.0.0/255.240.0.0)
 localnet [192.168.0.0/255.255.0.0](http://192.168.0.0/255.255.0.0)
[ProxyList]
socks5127.0.0.1 1


# Monitor it by the following command in another terminal:
$ sudo tcpdump -i lo port 1 -w - |pv >/dev/null
# Test as follows:
$ proxychains4 -f
/home/werner/Public/repo/github.com/rofl0r/proxychains-ng-socks5.conf
/bin/git clone git://git.lyx.org/lyx.git
[proxychains] config file found:
/home/werner/Public/repo/github.com/rofl0r/proxychains-ng-socks5.conf
[proxychains] preloading /usr/local/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
Cloning into 'lyx'...
[proxychains] Strict chain  ...  127.0.0.1:1  ...  git.lyx.org:9418  ...  OK
fatal: Could not read from remote 

Re: Failed to clone the git repo of lyx.

2024-01-14 Thread Hongyi Zhao
On Mon, Jan 15, 2024 at 1:29 AM Richard Kimberly Heck
 wrote:
>
> On 1/13/24 20:06, Hongyi Zhao wrote:
> > Hi,
> >
> > I'm trying to clone the git repo of lyx, but always fail, as shown below:
> >
> > werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
> > Cloning into 'lyx'...
> > kex_exchange_identification: Connection closed by remote host
> > Connection closed by 127.0.0.1 port 1
> > fatal: Could not read from remote repository.
> >
> > Please make sure you have the correct access rights
> > and the repository exists.
> > werner@X10DAi:~$ git clone git://git.lyx.org/lyx
> > Cloning into 'lyx'...
> > fatal: Could not read from remote repository.
> > Please make sure you have the correct access rights
> > and the repository exists.
>
> It should work now.

Yes. It works now. as shown below, what's wrong with it before?

$ pkill proxychains4-da
$ proxychains4-daemon &
[1] 10604

$ grep -Ev '^[ ]*(#|$)' proxychains-ng-socks5.conf
strict_chain
proxy_dns_daemon 127.0.0.1:1053
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
 localnet 127.0.0.0/255.0.0.0
 localnet 10.0.0.0/255.0.0.0
 localnet 172.16.0.0/255.240.0.0
 localnet 192.168.0.0/255.255.0.0
[ProxyList]
socks5127.0.0.1 1


# Monitor it by the following command in another terminal:
$ sudo tcpdump -i lo port 1 -w - |pv >/dev/null
# Test as follows:
$ proxychains4 -f proxychains-ng-socks5.conf /bin/git clone
https://github.com/torvalds/linux.git
[proxychains] config file found: proxychains-ng-socks5.conf
[proxychains] preloading /usr/local/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
Cloning into 'linux'...
[proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
[proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
127.0.0.1:56126 requested ip for github.com (224.0.0.1)
[proxychains] Strict chain  ...  127.0.0.1:1 127.0.0.1:59568
requested name for 224.0.0.1 (github.com)
 ...  github.com:443 127.0.0.1:47780 requested name for 224.0.0.1 (github.com)
 ...  OK
[proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
remote: Enumerating objects: 9955539, done.
^Cceiving objects:   1% (149402/9955539), 72.91 MiB | 7.70 MiB/s

$ grep -Ev '^[ ]*(#|$)' proxychains-ng-http.conf
strict_chain
proxy_dns_daemon 127.0.0.1:1053
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
 localnet 127.0.0.0/255.0.0.0
 localnet 10.0.0.0/255.0.0.0
 localnet 172.16.0.0/255.240.0.0
 localnet 192.168.0.0/255.255.0.0
[ProxyList]
http 127.0.0.1 8080

# Monitor it by the following command in another terminal:
$ sudo tcpdump -i lo port 8080 -w - |pv >/dev/null
# Test as follows:
$ proxychains4 -f proxychains-ng-http.conf /bin/git clone
https://github.com/torvalds/linux.git
[proxychains] config file found: proxychains-ng-http.conf
[proxychains] preloading /usr/local/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
Cloning into 'linux'...
[proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
[proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
127.0.0.1:36062 requested ip for github.com (224.0.0.1)
[proxychains] Strict chain  ...  127.0.0.1:8080 127.0.0.1:57894
requested name for 224.0.0.1 (github.com)
 ...  github.com:443 127.0.0.1:41307 requested name for 224.0.0.1 (github.com)
 ...  OK
[proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
remote: Enumerating objects: 9955539, done.
^Cceiving objects:   2% (199111/9955539), 96.58 MiB | 14.91 MiB/s


> Riki

Regards,
Zhao
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-14 Thread Hongyi Zhao
On Mon, Jan 15, 2024 at 7:13 AM Yuriy Skalko  wrote:
>
> >> I sometimes have problems as well to clone.
> >>
> >> One possibility would be to try the following:
> >>
> >>   https://github.com/cburschka/lyx
> >>
> >> Note however that (1) it is unofficial and I don't know the owner of
> >> that repository so you have to decide if you trust it; and (2) it is 10
> >> months out of date.
> >
> >
> > I want to clone the up-to-date git repo of lyx.
>
> Hi  Hongyi Zhao,
>
> I have a more recent clone of LyX on GitHub.
> You can find it here: https://github.com/magistere/lyx2

Unless you can always ensure that this is always automatically
synchronized with the original git repo, it is not the solution I
intend to use.

> Yuriy

Regards,
Zhao

> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-14 Thread Yuriy Skalko

I sometimes have problems as well to clone.

One possibility would be to try the following:

  https://github.com/cburschka/lyx

Note however that (1) it is unofficial and I don't know the owner of
that repository so you have to decide if you trust it; and (2) it is 10
months out of date.



I want to clone the up-to-date git repo of lyx.


Hi  Hongyi Zhao,

I have a more recent clone of LyX on GitHub.
You can find it here: https://github.com/magistere/lyx2

Yuriy

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


Re: Failed to clone the git repo of lyx.

2024-01-14 Thread Hongyi Zhao
On Sun, Jan 14, 2024 at 10:44 PM Hongyi Zhao  wrote:
>
> On Sun, Jan 14, 2024 at 9:31 PM Yu Jin  wrote:
> >
> > Am So., 14. Jan. 2024 um 03:52 Uhr schrieb Hongyi Zhao:
> >>
> >> On Sun, Jan 14, 2024 at 9:21 AM Scott Kostyshak wrote:
> >> >
> >> > On Sun, Jan 14, 2024 at 09:06:28AM +0800, Hongyi Zhao wrote:
> >> > > Hi,
> >> > >
> >> > > I'm trying to clone the git repo of lyx, but always fail, as shown 
> >> > > below:
> >> > >
> >> > > werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
> >> > > Cloning into 'lyx'...
> >> > > kex_exchange_identification: Connection closed by remote host
> >> > > Connection closed by 127.0.0.1 port 1
> >> > > fatal: Could not read from remote repository.
> >> >
> >> > I sometimes have problems as well to clone.
> >> >
> >> > One possibility would be to try the following:
> >> >
> >> >   https://github.com/cburschka/lyx
> >> >
> >> > Note however that (1) it is unofficial and I don't know the owner of
> >> > that repository so you have to decide if you trust it; and (2) it is 10
> >> > months out of date.
> >>
> >> I want to clone the up-to-date git repo of lyx.
> >
> >
> > This worked fine for me
> >
> > :~$ git clone git://git.lyx.org/lyx.git
> > Cloning into 'lyx'...
> > remote: Counting objects: 503349, done.
> > remote: Compressing objects: 100% (91927/91927), done.
> > Receiving objects: 100% (503349/503349), 509.70 MiB | 8.43 MiB/s, done.
> > remote: Total 503349 (delta 423483), reused 488371 (delta 409559)
> > Resolving deltas: 100% (423483/423483), done.
>
> In my case, I wrapped the git command in a bash script which calls git
> via proxychains-ng. The issue seems to be caused by proxychains-ng,
> which seems to have some issues working with the git protocol. See
> here [1] for a detailed discussion.

To be frank, I still don't know how to let git clone via a proxy, say,
socks5://127.0.0.1:1, when working with git:// protocol in this
case.

I've tried the following, but it doesn't seem to work:

$ cat git-proxy.sh
#!/bin/sh
#exec nc -x 127.0.0.1:1 $1 $2

# Use socat to proxy git through an HTTP CONNECT firewall.
# Useful if you are trying to clone git:// from inside a company.
# Requires that the proxy allows CONNECT to port 9418.
#
# Save this file as gitproxy somewhere in your path (e.g., ~/bin) and then run
#   chmod +x gitproxy
#   git config --global core.gitproxy gitproxy
#
# More details at http://tinyurl.com/8xvpny

# Configuration. Common proxy ports are 3128, 8123, 8000.
_proxy=127.0.0.1
_proxyport=1

exec socat STDIO PROXY:$_proxy:$1:$2,proxyport=$_proxyport

$ /bin/git -c 'core.gitProxy=./git-proxy.sh' clone git://git.lyx.org/lyx.git
Cloning into 'lyx'...
^C


> [1] https://github.com/rofl0r/proxychains-ng/issues/545
>
> > --
> >   Eugene
>
> Regards,
> Zhao
>
> > --
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-14 Thread Hongyi Zhao
On Sun, Jan 14, 2024 at 9:31 PM Yu Jin  wrote:
>
> Am So., 14. Jan. 2024 um 03:52 Uhr schrieb Hongyi Zhao:
>>
>> On Sun, Jan 14, 2024 at 9:21 AM Scott Kostyshak wrote:
>> >
>> > On Sun, Jan 14, 2024 at 09:06:28AM +0800, Hongyi Zhao wrote:
>> > > Hi,
>> > >
>> > > I'm trying to clone the git repo of lyx, but always fail, as shown below:
>> > >
>> > > werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
>> > > Cloning into 'lyx'...
>> > > kex_exchange_identification: Connection closed by remote host
>> > > Connection closed by 127.0.0.1 port 1
>> > > fatal: Could not read from remote repository.
>> >
>> > I sometimes have problems as well to clone.
>> >
>> > One possibility would be to try the following:
>> >
>> >   https://github.com/cburschka/lyx
>> >
>> > Note however that (1) it is unofficial and I don't know the owner of
>> > that repository so you have to decide if you trust it; and (2) it is 10
>> > months out of date.
>>
>> I want to clone the up-to-date git repo of lyx.
>
>
> This worked fine for me
>
> :~$ git clone git://git.lyx.org/lyx.git
> Cloning into 'lyx'...
> remote: Counting objects: 503349, done.
> remote: Compressing objects: 100% (91927/91927), done.
> Receiving objects: 100% (503349/503349), 509.70 MiB | 8.43 MiB/s, done.
> remote: Total 503349 (delta 423483), reused 488371 (delta 409559)
> Resolving deltas: 100% (423483/423483), done.

In my case, I wrapped the git command in a bash script which calls git
via proxychains-ng. The issue seems to be caused by proxychains-ng,
which seems to have some issues working with the git protocol. See
here [1] for a detailed discussion.

[1] https://github.com/rofl0r/proxychains-ng/issues/545

> --
>   Eugene

Regards,
Zhao

> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-14 Thread Yu Jin
Am So., 14. Jan. 2024 um 03:52 Uhr schrieb Hongyi Zhao:

> On Sun, Jan 14, 2024 at 9:21 AM Scott Kostyshak wrote:
> >
> > On Sun, Jan 14, 2024 at 09:06:28AM +0800, Hongyi Zhao wrote:
> > > Hi,
> > >
> > > I'm trying to clone the git repo of lyx, but always fail, as shown
> below:
> > >
> > > werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
> > > Cloning into 'lyx'...
> > > kex_exchange_identification: Connection closed by remote host
> > > Connection closed by 127.0.0.1 port 1
> > > fatal: Could not read from remote repository.
> >
> > I sometimes have problems as well to clone.
> >
> > One possibility would be to try the following:
> >
> >   https://github.com/cburschka/lyx
> >
> > Note however that (1) it is unofficial and I don't know the owner of
> > that repository so you have to decide if you trust it; and (2) it is 10
> > months out of date.
>
> I want to clone the up-to-date git repo of lyx.


This worked fine for me

:~$ git clone git://git.lyx.org/lyx.git
Cloning into 'lyx'...
remote: Counting objects: 503349, done.
remote: Compressing objects: 100% (91927/91927), done.
Receiving objects: 100% (503349/503349), 509.70 MiB | 8.43 MiB/s, done.
remote: Total 503349 (delta 423483), reused 488371 (delta 409559)
Resolving deltas: 100% (423483/423483), done.

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


Re: Failed to clone the git repo of lyx.

2024-01-13 Thread Hongyi Zhao
On Sun, Jan 14, 2024 at 9:21 AM Scott Kostyshak  wrote:
>
> On Sun, Jan 14, 2024 at 09:06:28AM +0800, Hongyi Zhao wrote:
> > Hi,
> >
> > I'm trying to clone the git repo of lyx, but always fail, as shown below:
> >
> > werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
> > Cloning into 'lyx'...
> > kex_exchange_identification: Connection closed by remote host
> > Connection closed by 127.0.0.1 port 1
> > fatal: Could not read from remote repository.
>
> I sometimes have problems as well to clone.
>
> One possibility would be to try the following:
>
>   https://github.com/cburschka/lyx
>
> Note however that (1) it is unofficial and I don't know the owner of
> that repository so you have to decide if you trust it; and (2) it is 10
> months out of date.

I want to clone the up-to-date git repo of lyx.

> Scott
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failed to clone the git repo of lyx.

2024-01-13 Thread Scott Kostyshak
On Sun, Jan 14, 2024 at 09:06:28AM +0800, Hongyi Zhao wrote:
> Hi,
> 
> I'm trying to clone the git repo of lyx, but always fail, as shown below:
> 
> werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
> Cloning into 'lyx'...
> kex_exchange_identification: Connection closed by remote host
> Connection closed by 127.0.0.1 port 1
> fatal: Could not read from remote repository.

I sometimes have problems as well to clone.

One possibility would be to try the following:

  https://github.com/cburschka/lyx

Note however that (1) it is unofficial and I don't know the owner of
that repository so you have to decide if you trust it; and (2) it is 10
months out of date.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users