venom icon indicating copy to clipboard operation
venom copied to clipboard

Need uuid support just randAlphaNum

Open imran-quresh1 opened this issue 1 year ago • 4 comments

Can we add a support for creating a uuid so it can be used where uuid is required? If it is already there apologies as i am not able to find it.

At present a hack is '{{randAlphaNum 8}}-{{randAlphaNum 4}}-{{randAlphaNum 4}}-{{randAlphaNum 4}}-{{randAlphaNum 12}}'

imran-quresh1 avatar Nov 20 '23 11:11 imran-quresh1

@yesnault Where do these functions get added? Cannot seem to find them.

ivan-velasco avatar Dec 06 '23 16:12 ivan-velasco

I am happy to contribute by adding this functionality if i know where to add.

imran-quresh1 avatar Dec 06 '23 19:12 imran-quresh1

it's here: https://github.com/ovh/cds/blob/master/sdk/interpolate/interpolate_helper.go#L47C19-L47C35

yesnault avatar Jan 02 '24 10:01 yesnault

I can see UUID here https://github.com/ovh/cds/blob/master/sdk/uuid.go but how do we use it in venom e2e test file?

imran-quresh1 avatar Jan 02 '24 11:01 imran-quresh1

I can see UUID here https://github.com/ovh/cds/blob/master/sdk/uuid.go but how do we use it in venom e2e test file?

not possible today.

yesnault avatar Aug 14 '24 12:08 yesnault

happy to contribute if i know where change is needed

On Wed, Aug 14, 2024 at 1:40 PM Yvonnick Esnault @.***> wrote:

I can see UUID here https://github.com/ovh/cds/blob/master/sdk/uuid.go but how do we use it in venom e2e test file?

not possible today.

— Reply to this email directly, view it on GitHub https://github.com/ovh/venom/issues/748#issuecomment-2288636009, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVGDNF6T4VPJ26BQ6IIAJUTZRNF5TAVCNFSM6AAAAAA7SZCHIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBYGYZTMMBQHE . You are receiving this because you authored the thread.Message ID: @.***>

imran-quresh1 avatar Aug 14 '24 21:08 imran-quresh1

@ivan-velasco will try to add that (see https://github.com/ovh/cds/pull/6808)

yesnault avatar Aug 16 '24 08:08 yesnault