emacscollective / borg

Assimilate Emacs packages as Git submodules
https://emacsmirror.net/manual/borg
GNU General Public License v3.0
259 stars 28 forks source link

package is outside repository #19

Closed DamienCassou closed 6 years ago

DamienCassou commented 7 years ago

I have seen this error message twice already, with 2 different packages:

fatal: /home/cassou/.emacs.d/lib/password-store-otp/: '/home/cassou/.emacs.d/lib/password-store-otp/' is outside repository

tarsius commented 7 years ago

Two possible causes come to mind:

  1. Something is messed up at the git level.
  2. Some borg function assumes it is being run with default-directory being inside ~/.emacs.d/, but that is not actually the case.

Just in case: what's the git release?

DamienCassou commented 7 years ago

Some borg function assumes it is being run with default-directory being inside ~/.emacs.d/, but that is not actually the case

I indeed run borg from many different places on my system.

what's the git release

$ git --version
git version 2.13.5
tarsius commented 7 years ago

I indeed run borg from many different places on my system.

I do that too, this is supposed to not cause any issues -- but there might be a bug (i.e. I forgot to let-bind default-directory or something like that).

DamienCassou commented 7 years ago

It happened while doing borg-assimilate.

tarsius commented 6 years ago

Has this happened again?

DamienCassou commented 6 years ago

Jonas Bernoulli notifications@github.com writes:

Has this happened again?

each time I want to assimilate a submodule and I'm not in ~/.emacs.d.

-- Damien Cassou http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill

tarsius commented 6 years ago

That sounds fairly reproducible :stuck_out_tongue: I'll have another look..

tarsius commented 6 years ago

Sorry this took so long. Was easy to reproduce too.

DamienCassou commented 6 years ago

Jonas Bernoulli notifications@github.com writes:

Sorry this took so long. Was easy to reproduce too.

Thank you very much!

-- Damien Cassou http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill