public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] how to add a new package with git?
@ 2015-09-03 17:07 grozin
  2015-09-03 17:11 ` James Le Cuirot
  2015-09-07  6:40 ` [gentoo-dev] " Ryan Hill
  0 siblings, 2 replies; 7+ messages in thread
From: grozin @ 2015-09-03 17:07 UTC (permalink / raw
  To: gentoo-dev

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://git@git.gentoo.org/repo/gentoo.git
  ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 
'git+ssh://git@git.gentoo.org/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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] how to add a new package with git?
  2015-09-03 17:07 [gentoo-dev] how to add a new package with git? grozin
@ 2015-09-03 17:11 ` James Le Cuirot
  2015-09-03 17:27   ` grozin
  2015-09-07  6:40 ` [gentoo-dev] " Ryan Hill
  1 sibling, 1 reply; 7+ messages in thread
From: James Le Cuirot @ 2015-09-03 17:11 UTC (permalink / raw
  To: gentoo-dev

On Thu, 3 Sep 2015 23:07:37 +0600 (NOVT)
grozin@gentoo.org wrote:

> 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?

It will probably work if you just cd to the parent directory before you
pull or push. What's happening is the directory is being deleted and
recreated during the rebase but your shell session is still pinned to
the original, which has now disappeared. git seemingly doesn't like
being run from a non-existent directory.

-- 
James Le Cuirot (chewi)
Gentoo Linux Developer


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] how to add a new package with git?
  2015-09-03 17:11 ` James Le Cuirot
@ 2015-09-03 17:27   ` grozin
  0 siblings, 0 replies; 7+ messages in thread
From: grozin @ 2015-09-03 17:27 UTC (permalink / raw
  To: gentoo-dev

On Thu, 3 Sep 2015, James Le Cuirot wrote:
> It will probably work if you just cd to the parent directory before you
> pull or push.
Thanks, this have worked.

Andrey


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-dev] Re: how to add a new package with git?
  2015-09-03 17:07 [gentoo-dev] how to add a new package with git? grozin
  2015-09-03 17:11 ` James Le Cuirot
@ 2015-09-07  6:40 ` Ryan Hill
  2015-09-07  6:42   ` Justin (jlec)
  2015-09-07 21:37   ` Andreas K. Huettel
  1 sibling, 2 replies; 7+ messages in thread
From: Ryan Hill @ 2015-09-07  6:40 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

On Thu, 3 Sep 2015 23:07:37 +0600 (NOVT)
grozin@gentoo.org wrote:

> 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.

Sorry if this has been discussed elsewhere, but what is this warning?  A couple
days ago I started seeing it every time I sync even though I've yet to push
anything to git.


-- 
Ryan Hill                        psn: dirtyepic_sk
   gcc-porting/toolchain/wxwidgets @ gentoo.org

47C3 6D62 4864 0E49 8E9E  7F92 ED38 BD49 957A 8463

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 475 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Re: how to add a new package with git?
  2015-09-07  6:40 ` [gentoo-dev] " Ryan Hill
@ 2015-09-07  6:42   ` Justin (jlec)
  2015-09-07 21:37   ` Andreas K. Huettel
  1 sibling, 0 replies; 7+ messages in thread
From: Justin (jlec) @ 2015-09-07  6:42 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

On 07/09/15 08:40, Ryan Hill wrote:
> On Thu, 3 Sep 2015 23:07:37 +0600 (NOVT)
> grozin@gentoo.org wrote:
> 
>> 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.
> 
> Sorry if this has been discussed elsewhere, but what is this warning?  A couple
> days ago I started seeing it every time I sync even though I've yet to push
> anything to git.
> 
> 
This comes form the mirroring code of gitolite. If the remote box, where the
repo should be mirrored to isn't up you get this warning.

Justin


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 951 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Re: how to add a new package with git?
  2015-09-07  6:40 ` [gentoo-dev] " Ryan Hill
  2015-09-07  6:42   ` Justin (jlec)
@ 2015-09-07 21:37   ` Andreas K. Huettel
  2015-09-10 15:08     ` Alex Brandt
  1 sibling, 1 reply; 7+ messages in thread
From: Andreas K. Huettel @ 2015-09-07 21:37 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Am Montag, 7. September 2015, 08:40:36 schrieb Ryan Hill:
> On Thu, 3 Sep 2015 23:07:37 +0600 (NOVT)
> 
> grozin@gentoo.org wrote:
> > 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
[...]
> 
> Sorry if this has been discussed elsewhere, but what is this warning?  A
> couple days ago I started seeing it every time I sync even though I've yet
> to push anything to git.

TL;DR: this is something that only infra needs to care about.

The fact that every dev sees it all the time leads to no end of pointless 
irritation.

- -- 

Andreas K. Huettel
Gentoo Linux developer 
dilfridge@gentoo.org
http://www.akhuettel.de/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0

iQJ8BAEBCgBmBQJV7gOYXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0RkJDMzI0NjNBOTIwMDY5MTQ2NkMzNDBF
MTM4NkZEN0VGNEI1Nzc5AAoJEOE4b9fvS1d5P5sP/3oFgOXQkIhE2yLlnU8a8Czu
T2KKh1ZawRWQpyxIkjaCSlUv6vYedeaYPy73R4wHKdqC5COVP1EggvNd2U3lcxq/
f5DhNmcz3CyQ/snbM90NXWhmrVvdFJDqe2P0/zds7Gzs5i4Nwk2o1rBnhj+q11el
PUM+XOjt19rndkQTumTbW1Z8nC0z7nRXod+T/F5cWMaA8aP1TKp/rBth5c41Q0Ub
yIMPw/nfVbDUYYomIPZOVxKBOVJUGcW2B5elSkgfFGHtQZBfHF6Ak2GID1lCYEsl
juer7fB7hocUE7IubtobrXhmrdpVvRuFjNSOogn9TYsFyAgIsOZVqWgpy5nb58FJ
2OKl6/O/iieZwwBMOPpxMZq+Y2UyZAKbKFaIcXB44I7OsNGyJ+R4HsE15XDIdxCw
bygo0818Sb0AGdVc7W7s7bsXC7hhVgBeO56r4kU+SecsC062TaMKJYKCKLfTUAxL
2znZj4XgX8mIWedHxCaS+O839besNujOhiLsrbSJ7IkAjC86MmllUETSk1cjMFsu
MWtS9IORGWtnoaJ7gTf7039fi0ePHSPzO/Xbn7jDvIO8aIRk6rMH5G8emm8OHIfm
1OjpBTa2Qlegaxo9KosrJPtZbcVTbM20babTGNRHWy/mhioyvTyhLEZSLu3sU3N2
Lzt9w3PbcYRxH91XX7+q
=AqA3
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Re: how to add a new package with git?
  2015-09-07 21:37   ` Andreas K. Huettel
@ 2015-09-10 15:08     ` Alex Brandt
  0 siblings, 0 replies; 7+ messages in thread
From: Alex Brandt @ 2015-09-10 15:08 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

On Monday, September 07, 2015 23:37:16 Andreas K. Huettel wrote:
> TL;DR: this is something that only infra needs to care about.
> 
> The fact that every dev sees it all the time leads to no end of pointless
> irritation.

+1

Regards,

-- 
Alex Brandt
Software Developer for Rackspace and Developer for Gentoo
http://blog.alunduil.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-10 15:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03 17:07 [gentoo-dev] how to add a new package with git? grozin
2015-09-03 17:11 ` James Le Cuirot
2015-09-03 17:27   ` grozin
2015-09-07  6:40 ` [gentoo-dev] " Ryan Hill
2015-09-07  6:42   ` Justin (jlec)
2015-09-07 21:37   ` Andreas K. Huettel
2015-09-10 15:08     ` Alex Brandt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox