This case is not discussed in https://wiki.gentoo.org/wiki/Gentoo_git_workflow

I've added sci-geosciences/qmapshack to my local git tree. But

grozin@elrond /home/gentoo/sci-geosciences/qmapshack $ git push --signed origin master Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
----------
WARNING: previous mirror push to host 'ituri.gentoo.org' failed, status is: 2015-09-03.16:57:50 962 ssh: connect to host ituri.gentoo.org port 22: Connection timed out 2015-09-03.16:57:50 962 fatal: Could not read from remote repository.
2015-09-03.16:57:50     962
2015-09-03.16:57:50 962 Please make sure you have the correct access rights
2015-09-03.16:57:50     962     and the repository exists.
----------
To git+ssh://[email protected]/repo/gentoo.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'git+ssh://[email protected]/repo/gentoo.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

grozin@elrond /home/gentoo/sci-geosciences/qmapshack $ git pull --rebase=preserve origin master Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
----------
WARNING: previous mirror push to host 'ituri.gentoo.org' failed, status is: 2015-09-03.16:57:50 962 ssh: connect to host ituri.gentoo.org port 22: Connection timed out 2015-09-03.16:57:50 962 fatal: Could not read from remote repository.
2015-09-03.16:57:50     962
2015-09-03.16:57:50 962 Please make sure you have the correct access rights
2015-09-03.16:57:50     962     and the repository exists.
----------
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 4), reused 0 (delta 0)
Unpacking objects: 100% (6/6), done.
From git+ssh://git.gentoo.org/repo/gentoo
 * branch            master     -> FETCH_HEAD
   2ac41e1..ed56295  master     -> origin/master
Successfully rebased and updated refs/heads/master.

grozin@elrond /home/gentoo/sci-geosciences/qmapshack $ git push --signed origin master
fatal: Unable to read current working directory: No such file or directory

So, where am I?

grozin@elrond /home/gentoo/sci-geosciences/qmapshack $ pwd
/home/gentoo/sci-geosciences/qmapshack

grozin@elrond /home/gentoo/sci-geosciences/qmapshack $ ls

No files here??

grozin@elrond /home/gentoo/sci-geosciences/qmapshack $ cd ..

grozin@elrond /home/gentoo/sci-geosciences $ ls
bt747/ gpsd/ mapnik-world-boundaries/ opencpn-plugin-ocpndebugger/ qmapshack/ cdat-lite/ gpx-viewer/ mapserver/ opencpn-plugin-statusbar/ readosm/ congen/ gpxpy/ mc2bsbh/ opencpn-plugin-weather_routing/ seawater/ foxtrotgps/ grass/ merkaartor/ opencpn-plugin-weatherfax/ swmm/ gdal-grass/ gshhs/ metadata.xml opencpn-plugin-wmm/ tappy/ gebabbel/ gshhs-data/ mkgmap/ osgearth/ tcd-utils/ geocode-glib/ gtk-g-rays2/ mtkbabel/ osm-gps-map/ tilecache/ gmapcatcher/ harmonics-dwf-free/ opencpn/ osm2mp/ viking/ gmt/ harmonics-dwf-free-noncomm/ opencpn-plugin-br24radar/ osm2pgsql/ xtide/ gnome-maps/ josm/ opencpn-plugin-climatology/ osmosis/ googleearth/ josm-plugins/ opencpn-plugin-launcher/ qgis/ gpsbabel/ libtcd/ opencpn-plugin-logbookkonni/ qlandkartegt/ gpscorrelate/ mapnik/ opencpn-plugin-objsearch/ qlandkartegt-garmindev/

grozin@elrond /home/gentoo/sci-geosciences $ cd qmapshack/

grozin@elrond /home/gentoo/sci-geosciences/qmapshack $ ls
Manifest  metadata.xml  qmapshack-1.3.0.ebuild

Files are still here. Now if I again try git push --signed origin master, the whole story repeats exactly. I cannot find a way to push this new package to origin.

Any help please?

Andrey

Reply via email to