unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* "Server does not allow request for unadvertised object"
@ 2019-08-27 18:57 Hartmut Goebel
  2019-09-03 12:31 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Hartmut Goebel @ 2019-08-27 18:57 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 1195 bytes --]

Hi,

I just ran "guiy pull" and discovered this error:

Initialized empty Git repository in
/gnu/store/…-guix-1.0.1-4.c902458-checkout/.git/
error: Server does not allow request for unadvertised object
c902458863d1d341ffd74970b75e69c2bb848183

Maybe the config of the git-repo needs to be changed?

More context:

@ build-started
/gnu/store/w1aw6xai8512rrpl85d08kmdvaf6w0xn-guix-1.0.1-4.c902458-checkout.drv
- x86_64-linux
/var/log/guix/drvs/w1//aw6xai8512rrpl85d08kmdvaf6w0xn-guix-1.0.1-4.c902458-checkout.drv.bz2
16998
|@ build-log 16998 151
environment variable `PATH' set to
`/gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin:/gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-tar-1.30/bin'
@ build-log 16998 116
Initialized empty Git repository in
/gnu/store/02j90d0y16b7k5pv6y3jr57ff20aja49-guix-1.0.1-4.c902458-checkout/.git/
/@ build-log 16998 102
error: Server does not allow request for unadvertised object
c902458863d1d341ffd74970b75e69c2bb848183
@ build-log 16998 55

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



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

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

* Re: "Server does not allow request for unadvertised object"
  2019-08-27 18:57 "Server does not allow request for unadvertised object" Hartmut Goebel
@ 2019-09-03 12:31 ` Ludovic Courtès
  2019-09-04 14:19   ` Danny Milosavljevic
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2019-09-03 12:31 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: guix-devel

Hi,

Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:

> Initialized empty Git repository in
> /gnu/store/…-guix-1.0.1-4.c902458-checkout/.git/
> error: Server does not allow request for unadvertised object
> c902458863d1d341ffd74970b75e69c2bb848183

I’ve seen that coming from different Git servers.  I’m not sure what it
means, but it seems to be harmless.

Ludo’.

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

* Re: "Server does not allow request for unadvertised object"
  2019-09-03 12:31 ` Ludovic Courtès
@ 2019-09-04 14:19   ` Danny Milosavljevic
  2019-09-06  8:01     ` Hartmut Goebel
  0 siblings, 1 reply; 4+ messages in thread
From: Danny Milosavljevic @ 2019-09-04 14:19 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

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

It means that the server only allows you to clone branches and tags, not individual
commits which are not on a branch or tag. (more specifically, it only allows you
to fetch what it has told you in the beginning exists)

If that happens, one can just clone the latest branch or tag without depth
restriction (which means it will clone the ENTIRE repository) and then git
checkout the commit you want.  That's a major reason why I put a fallback
in our git-download module.

I don't know what the benefit of the restriction is, though.

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

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

* Re: "Server does not allow request for unadvertised object"
  2019-09-04 14:19   ` Danny Milosavljevic
@ 2019-09-06  8:01     ` Hartmut Goebel
  0 siblings, 0 replies; 4+ messages in thread
From: Hartmut Goebel @ 2019-09-06  8:01 UTC (permalink / raw)
  To: Danny Milosavljevic, Ludovic Courtès; +Cc: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 293 bytes --]

Am 04.09.19 um 16:19 schrieb Danny Milosavljevic:
> [… explanation …]

Thanks for the explanation.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



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

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

end of thread, other threads:[~2019-09-06  8:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27 18:57 "Server does not allow request for unadvertised object" Hartmut Goebel
2019-09-03 12:31 ` Ludovic Courtès
2019-09-04 14:19   ` Danny Milosavljevic
2019-09-06  8:01     ` Hartmut Goebel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).