Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong username/string #2

Open
norayr opened this issue May 30, 2022 · 2 comments
Open

wrong username/string #2

norayr opened this issue May 30, 2022 · 2 comments

Comments

@norayr
Copy link

norayr commented May 30, 2022

with the latest version of smog, i believe:

bin/smog add https://git.sr.ht/~julienxx/castor

package:   castor
url:       https://git.sr.ht/~julienxx/castor
path:      sr.ht/~julienxx/castor

proceed? [y/N]: y

checking available tags.. found 27
use tag [0.9.0]? [y/N]: y

selected tag [0.9.0]
mkdir: created directory '/home/inky/local/pkg/sr.ht'
mkdir: created directory '/home/inky/local/pkg/sr.ht/~julienxx'
mkdir: created directory '/home/inky/local/pkg/sr.ht/~julienxx/castor'
Cloning into '/home/inky/local/pkg/sr.ht/~julienxx/castor'...
remote: Enumerating objects: 47, done.
remote: Counting objects: 100% (47/47), done.
remote: Compressing objects: 100% (44/44), done.
remote: Total 47 (delta 5), reused 32 (delta 0), pack-reused 0
Receiving objects: 100% (47/47), 95.86 KiB | 212.00 KiB/s, done.
Resolving deltas: 100% (5/5), done.
Switched to a new branch 'mastermind'
created metadata '/home/inky/local/pkg/github.com/vgratian/smog/mdd/castor'
package 'castor' created

the problem is in this line:

created metadata '/home/inky/local/pkg/github.com/vgratian/smog/mdd/castor'

i guess it should take the current username.

@vgratian
Copy link
Owner

vgratian commented Jun 6, 2022

Hi, it seems like this is not a problem. The metadata filename will always match the repo name (castor in this case is correct).

As for the metadata filepath, this is controlled by the $MDD variable in config (see README).

It might be confusing why this filepath is in ......./github.com/vgratian/smog/mdd/, but that's because smog is maintaining itself as a package of itself and that's the location where smog has cloned itself. Let me know if that clears it up a little bit.

@vgratian
Copy link
Owner

vgratian commented Jun 6, 2022

p.s. sorry, I didn't see the issue earlier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants