Bug 35268 - Не пушится
Summary: Не пушится
Status: CLOSED NOTABUG
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: gitery (show other bugs)
Version: unspecified
Hardware: all Linux
: P3 normal
Assignee: Dmitry V. Levin
QA Contact: Andrey Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-20 10:01 MSK by Evgenii Terechkov
Modified: 2018-08-20 11:56 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgenii Terechkov 2018-08-20 10:01:25 MSK
Перестало пушить ветки и теги в гитери:
=8<==================================================================

evg@thinkpad ~/git/SpamOracle $git push gears master
Counting objects: 320, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (108/108), done.
Writing objects: 100% (320/320), 50.13 KiB | 7.16 MiB/s, done.
Total 320 (delta 231), reused 277 (delta 208)
remote: fatal: Unable to create temporary file '/archive_git/gears/S/SpamOracle.git/./objects/pack/tmp_pack_XXXXXX': Read-only file system
error: remote unpack failed: index-pack abnormal exit
To gitery.alt:/gears/S/SpamOracle.git
 ! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'gitery.alt:/gears/S/SpamOracle.git'
[1]    4991 exit 1     git push gears master
evg@thinkpad ~/git/SpamOracle $git push gitery.alt master
error: --mirror can't be combined with refspecs
usage: git push [<options>] [<repository> [<refspec>...]]

    -v, --verbose         be more verbose
    -q, --quiet           be more quiet
    --repo <repository>   repository
    --all                 push all refs
    --mirror              mirror all refs
    -d, --delete          delete refs
    --tags                push tags (can't be used with --all or --mirror)
    -n, --dry-run         dry run
    --porcelain           machine-readable output
    -f, --force           force updates
    --force-with-lease[=<refname>:<expect>]
                          require old value of ref to be at this value
    --recurse-submodules[=<check|on-demand|no>]
                          control recursive pushing of submodules
    --thin                use thin pack
    --receive-pack <receive-pack>
                          receive pack program
    --exec <receive-pack>
                          receive pack program
    -u, --set-upstream    set upstream for git pull/status
    --progress            force progress reporting
    --prune               prune locally removed refs
    --no-verify           bypass pre-push hook
    --follow-tags         push missing but relevant tags
    --signed[=<yes|no|if-asked>]
                          GPG sign the push
    --atomic              request atomic transaction on remote side
    -o, --push-option <server-specific>
                          option to transmit
    -4, --ipv4            use IPv4 addresses only
    -6, --ipv6            use IPv6 addresses only

[1]    5012 exit 129   git push gitery.alt master
=8<==================================================================
Comment 1 Dmitry V. Levin 2018-08-20 10:36:01 MSK
(In reply to comment #0)
> Перестало пушить ветки и теги в гитери:
> =8<==================================================================
> 
> evg@thinkpad ~/git/SpamOracle $git push gears master
> Counting objects: 320, done.
> Delta compression using up to 4 threads.
> Compressing objects: 100% (108/108), done.
> Writing objects: 100% (320/320), 50.13 KiB | 7.16 MiB/s, done.
> Total 320 (delta 231), reused 277 (delta 208)
> remote: fatal: Unable to create temporary file
> '/archive_git/gears/S/SpamOracle.git/./objects/pack/tmp_pack_XXXXXX': Read-only
> file system
> error: remote unpack failed: index-pack abnormal exit
> To gitery.alt:/gears/S/SpamOracle.git
>  ! [remote rejected] master -> master (unpacker error)
> error: failed to push some refs to 'gitery.alt:/gears/S/SpamOracle.git'

Зачем вы пушите в архив?
Comment 2 Evgenii Terechkov 2018-08-20 11:23:22 MSK
Чтобы контрастнее показать, что сообщения об ошибках у gears и gitery различаются. Основная проблема в этом:
=8<==================================================================
evg@thinkpad ~/git/SpamOracle $git push gitery.alt master
error: --mirror can't be combined with refspecs
usage: git push [<options>] [<repository> [<refspec>...]]

    -v, --verbose         be more verbose
    -q, --quiet           be more quiet
    --repo <repository>   repository
    --all                 push all refs
    --mirror              mirror all refs
    -d, --delete          delete refs
    --tags                push tags (can't be used with --all or --mirror)
    -n, --dry-run         dry run
    --porcelain           machine-readable output
    -f, --force           force updates
    --force-with-lease[=<refname>:<expect>]
                          require old value of ref to be at this value
    --recurse-submodules[=<check|on-demand|no>]
                          control recursive pushing of submodules
    --thin                use thin pack
    --receive-pack <receive-pack>
                          receive pack program
    --exec <receive-pack>
                          receive pack program
    -u, --set-upstream    set upstream for git pull/status
    --progress            force progress reporting
    --prune               prune locally removed refs
    --no-verify           bypass pre-push hook
    --follow-tags         push missing but relevant tags
    --signed[=<yes|no|if-asked>]
                          GPG sign the push
    --atomic              request atomic transaction on remote side
    -o, --push-option <server-specific>
                          option to transmit
    -4, --ipv4            use IPv4 addresses only
    -6, --ipv6            use IPv6 addresses only

[1]    5012 exit 129   git push gitery.alt master
=8<==================================================================
Comment 3 Evgenii Terechkov 2018-08-20 11:23:52 MSK
О чём собственно говорит компонент, на который повешена бага.
Comment 4 Dmitry V. Levin 2018-08-20 11:29:21 MSK
(In reply to comment #2)
> Чтобы контрастнее показать, что сообщения об ошибках у gears и gitery
> различаются. Основная проблема в этом:
> =8<==================================================================
> evg@thinkpad ~/git/SpamOracle $git push gitery.alt master
> error: --mirror can't be combined with refspecs
> usage: git push [<options>] [<repository> [<refspec>...]]

Это ваш клиент говорит, gitery тут не при чём.
Если вы обновили git, то проверьте конфиг.
Comment 5 Evgenii Terechkov 2018-08-20 11:56:11 MSK
Виноват, проверил конфиги гита, но забыл про ./.git/config