-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Installer] Create a random string generate rnd
and publish with goreleaser
#23
Comments
rnd
and publish with goreleaser
Can i work on this ? |
@khairnarsaurabh23 Sure. Take a look here: 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 ? |
@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 If you just want to add an existing program to Webi, you might try one that already exists, like delta (see webinstall/webi-installers#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 releasesinfo, 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
https://github.com/___CHANGE/ME___/releases
CHANGE-ME/release.js
to use the official repoCHANGE-ME
unpacks (i.e. as a single file? as a .tar.gz? asa .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
)The text was updated successfully, but these errors were encountered: