🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
4 messages
4 total messages Started by Victor53 Tue, 15 Feb 2022 14:41
Yamn Go issue
#318487
Author: Victor53
Date: Tue, 15 Feb 2022 14:41
9 lines
1311 bytes
> go install: github.com/crooks/yamn@latest (in github.com/crooks/yamn@v0.2.6):
> 	The go.mod file for the module providing named packages contains one or
> 	more replace directives. It must not contain directives that would cause
> 	it to be interpreted differently than if it were the main module.


How would you explain this ?

regards
Re: Yamn Go issue
#318488
Author: SEC3
Date: Tue, 15 Feb 2022 15:37
26 lines
1535 bytes
On 2022-02-15 09:41, Victor53 wrote:
>> go install: github.com/crooks/yamn@latest (in 
>> github.com/crooks/yamn@v0.2.6):
>>     The go.mod file for the module providing named packages contains 
>> one or
>>     more replace directives. It must not contain directives that would 
>> cause
>>     it to be interpreted differently than if it were the main module.
> 
> 
> How would you explain this ?
> 
> regards

Interesting. I googled this and discovered that the command "go install" 
does not allow version suffixes like @latest.

Maybe try:

go install github.com/crooks/yamn


-- 
SEC3

YAMN Tutorials - https://sec3.net/yamnhelp
Re: Yamn Go issue
#318490
Author: SEC3
Date: Tue, 15 Feb 2022 16:09
35 lines
1836 bytes
On 2022-02-15 10:37, SEC3 wrote:
> On 2022-02-15 09:41, Victor53 wrote:
>>> go install: github.com/crooks/yamn@latest (in 
>>> github.com/crooks/yamn@v0.2.6):
>>>     The go.mod file for the module providing named packages contains 
>>> one or
>>>     more replace directives. It must not contain directives that 
>>> would cause
>>>     it to be interpreted differently than if it were the main module.
>>
>>
>> How would you explain this ?
>>
>> regards
> 
> Interesting. I googled this and discovered that the command "go install" 
> does not allow version suffixes like @latest.
> 
> Maybe try:
> 
> go install github.com/crooks/yamn
> 
> 

Alternatively, you can download the YAMN source code,
<https://github.com/crooks/yamn/archive/refs/heads/master.zip>

extract the zip file, move into that folder and then do command
"go build"


-- 
SEC3

YAMN Tutorials - https://sec3.net/yamnhelp
Re: Yamn Go issue
#318492
Author: Zax
Date: Tue, 15 Feb 2022 22:25
50 lines
2870 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, 15 Feb 2022 15:41:05 +0100, Victor53 wrote in
Message-Id: <suge2n$3kmo6$1@news.mixmin.net>:

>> go install: github.com/crooks/yamn@latest (in github.com/crooks/yamn@v0.2.6):
>> 	The go.mod file for the module providing named packages contains one or
>> 	more replace directives. It must not contain directives that would cause
>> 	it to be interpreted differently than if it were the main module.
>
>
> How would you explain this ?

What command are you issuing?  It looks like you're using "go install"
with a version suffix.  Check out:
https://github.com/golang/go/issues/40276

The replace directive is used because I added some functionality to
another module and the merge request hasn't been accepted.
https://github.com/Masterminds/log-go/pull/21

Until they accept (or reject) it, I redirect people to my forked
version of their repo:
https://github.com/crooks/log-go

You can view the actual replace statement here:
https://github.com/crooks/yamn/blob/master/go.mod#L17

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEJHudPu4ysYQcZBcigyyPTc2QQmMFAmIMKFsACgkQgyyPTc2Q
QmMzxQ//fxnZrukpU0z2OQ9/LjKkZnGaxG5g32Libldgorq05K2lbPghvjnzjHb0
Bkcq25KOYLBPzUKNXD7ZUdgW5gO8GUMWWZF2XH1urcE9RfhvB8CQdjfBCWzaTVuB
8weTRgjuDBA+jXmghCX/UCAUCwA1ph/iqG2/90rp+y2Xj6CIUO6vcTNQ4eyII1ko
uE/kggyU+Q6u4ge0TKEtkKSZWj62nhi+Bb4JImM4Q/m5BBXoEYL7sHWA/JJQxtFz
dITiayNHKijwiRyvlBgugcOb2Gwj4t5AcRwK1QL4O1CJsJI37ijPvCN/wYQGaeIk
VQzJPF/gWKJYNpDij7ghj19XJFYyHLy7/yCpjmfD50lbNrFlE8bBkxyE8PZuwfje
P//w2//d9GDGrPRRj6yMcjzuClvd3IIth9zEh4fb/5kGLeU/q9XPJ/IMhvPLVVOB
d4rhZ2u25sC09PAQwzxqU1mAO9Nw2+IjsTV74Kn4qUxyL0+pLzWusRxfpA9rIyWH
zdfFXfhHm5rNLppZ6j2tHIjdyAxta3xZsmlVUEiTw+Q6QOekKSRp1ee8qsaDLIAE
V473oH1LYSljMEzpQhDuBp84BHxEHgSszfpFKsVLy8tW7ORuHtUd6JcfF86B4sDi
uQ1emLccAMyToljgOz3aiARc5VN4vXGBdZw077UjUMJVLdJTs/8=
=PZ+k
-----END PGP SIGNATURE-----

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
ssb  rsa4096/832C8F4DCD904263 created: 2019-05-04 expires: 2024-05-02 usage: S
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads