Open coolaj86 opened 3 years ago
Can i work on this ?
@khairnarsaurabh23 Sure. Take a look here: https://github.com/BeyondCodeBootcamp/beyondcodebootcamp/issues/10#issuecomment-882224603
Have you used GoReleaser before?
No, I haven't used it before. But I'll learn about it, for sure.
I'm finding it defficult to work on issue with given information. Sir, the link you have given in step 2 goes to nothing. Can you please help me out ? @coolaj86
@khairnarsaurabh23 There is no link in step two. You'd have to create it yourself.
What's your experience programming in Go?
I've no programing experience in Go.
Were you planning to write a cross-platform rnd
program?
If you just want to add an existing program to Webi, you might try one that already exists, like delta (see https://github.com/webinstall/webi-installers/issues/320) instead.
Add
rnd
This is two parts:
rnd
that spits out a random string (for passwords, tokens, etc)Currently I have some aliases for creating random strings:
It would be trivial to create a cross-platform Go program that spits out a random string.
Honestly, I'd prefer it in Rust, but I have yet to see a simple solution for cross compiling to multiple platforms from a Linux host (yes, Windows too, no the user to separately install the visual studio runtime distribution is not acceptable).
Getting this on webi would as simple as copying
_example
, updating the github releases info, and doing a find and replace on a few file system path names.There are several Go programs on here which are released with
goreleaser
which could serve as examples.Part 2. How to create a webi installer
Skills required
mkdir
,mv
,ls
,tar
,unzip
, variables)Steps
CHANGE-ME/release.js
to use the official repoCHANGE-ME
unpacks (i.e. as a single file? as a .tar.gz? as a .tar.gz with a folder named CHANGE-ME?)CHANGE-ME/install.sh
(seebat
andjq
as examples)CHANGE-ME/install.ps1
(seebat
andjq
as examples)CHANGE-ME/README.md
It's also okay to have multiple people work on part of this (i.e. the Cheat Sheet can be done independently from the
install.sh
)