create repositorys #170

Closed
opened 2020-08-29 17:54:22 +00:00 by chopin42 · 8 comments

Hello! I am trying to make a script that would send a bunch of repositories from one instance to another. I got this:

echo "What is the instance's url?"
read URL

REPOS=$(tea repos | awk '{ print $2 }' | sed 1,2d)

for I in $REPOS
do
        git clone $URL/$I
done

So now I need a way to send all the repositories back to another instance. But I cannot find this options. Can you help me?

Hello! I am trying to make a script that would send a bunch of repositories from one instance to another. I got this: ```bash echo "What is the instance's url?" read URL REPOS=$(tea repos | awk '{ print $2 }' | sed 1,2d) for I in $REPOS do git clone $URL/$I done ``` So now I need a way to send all the repositories back to another instance. But I cannot find this options. Can you help me?
Owner

@chopin42 not jet

@chopin42 not jet
Owner

@chopin42 I have a realy "ugly" tool you could use -> https://codeberg.org/6543/gitea2gitea_migration

be carefull there are things hardcoded witch you should change ...

anyway I'll looking forward to https://github.com/go-gitea/gitea/issues/8380

@chopin42 I have a realy "ugly" tool you could use -> https://codeberg.org/6543/gitea2gitea_migration be carefull there are things hardcoded witch you should change ... anyway I'll looking forward to https://github.com/go-gitea/gitea/issues/8380
Owner

related: #22

related: https://gitea.com/gitea/tea/issues/22
6543 added the
kind
feature
label 2020-08-29 22:59:38 +00:00
6543 changed title from Is there a way to create repos yet? to create repositorys 2020-08-29 23:00:02 +00:00
Owner

@chopin42 changed title

@chopin42 changed title
Author

@chopin42 I have a realy "ugly" tool you could use -> https://codeberg.org/6543/gitea2gitea_migration

be carefull there are things hardcoded witch you should change ...

anyway I'll looking forward to https://github.com/go-gitea/gitea/issues/8380

Thanks! Is this tool only for issues and pulls or is it also for the code itself?

> @chopin42 I have a realy "ugly" tool you could use -> https://codeberg.org/6543/gitea2gitea_migration > > be carefull there are things hardcoded witch you should change ... > > anyway I'll looking forward to https://github.com/go-gitea/gitea/issues/8380 Thanks! Is this tool only for issues and pulls or is it also for the code itself?
Owner

issues/pulls/lables/milestones - but you have to push code first yourself

issues/pulls/lables/milestones - but you have to push code first yourself
Author

Ok nice! I will try it! I didn't knew there was already a "migrate" project for tea and gitea, good idea!

Ok nice! I will try it! I didn't knew there was already a "migrate" project for tea and gitea, good idea!
6543 added the
status/has-pull
label 2020-09-12 23:18:59 +00:00
Member

implemented in v0.5.0

implemented in v0.5.0
noerw closed this issue 2020-10-02 23:43:35 +00:00
noerw added this to the v0.5.0 milestone 2020-10-02 23:43:59 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#170
No description provided.