Gitea repository description size is limited to 255 chars
This commit is contained in:
parent
7360cc1f4c
commit
a0e9bb1bc5
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ repos_to_migration() {
|
|||
n=$(jq '.|length'<$f)
|
||||
(( n-- )) # last element
|
||||
for i in $(seq 0 $n); do
|
||||
jq ".[$i]|.uid=${uid}|.mirror=true|.clone_addr=.clone_url|.repo_name=.name|{uid,repo_name,clone_addr,description}" <$f \
|
||||
jq ".[$i]|.uid=${uid}|.mirror=true|.clone_addr=.clone_url|.description=.description[0:255]|.repo_name=.name|{uid,repo_name,clone_addr,description}" <$f \
|
||||
| create_migration_repo
|
||||
done
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue