tj / git-extras

GIT utilities -- repo summary, repl, changelog population, author commit percentages and more
MIT License
17.28k stars 1.21k forks source link

[Feature request] Chocolatey support #611

Open Kristinita opened 7 years ago

Kristinita commented 7 years ago

Please, add git-extras to Chocolatey — package manager for Windows. You will greatly facilitate the use of git-extras your users.

Benefits:

  1. Quick installation. Users need only print in preferable terminal command cinst git-extras -y.
  2. Users don't need to upgrade each program separately. Even if users have thousands programs, enough print in terminal cup all -y.
  3. If user reinstall Windows or begin to use other computer, user can quickly reinstall all programs, which he enjoyed. User can get list of commands use clist and then install programs cinst program1 git-extras program3.
  4. Quiet installing, update and removing.

Thanks.

spacewander commented 7 years ago

A package manager for Windows! Great, it is sweet for the developers using Windows. I need to update my knowledge about Windows.

One little thing, @Kristinita , git-extras assumes coreutils installed(awk, curl, etc.) How can we manage these dependencies via Chocolatey?

hemanth commented 7 years ago

Isn't it part of GNU coreutils?

Kristinita commented 7 years ago

@spacewander, if dependency is a Chocolatey package, is possible install dependency with the package. See, for example, how to set AutoHotkey dependency for VeraCrypt package.

About Chocolatey package creating see Creating Chocolatey Packages page and, for example, my simple Chocolatey packages.

Thanks.

spacewander commented 7 years ago

@hemanth Nice, so package git-extras is highly possible.

@Kristinita We require someone is famous with Windows and Chocolately. It will be welcome if you are willing to submit the pr. Would you give us a hand?

hemanth commented 7 years ago

We require someone is famous with Windows and Chocolately.

It will be @Kristinita after she publishes this module to Chocolately 🤗

Kristinita commented 7 years ago

@spacewander , @hemanth , I create packages for some programs, but I don't understand, how to create Chocolatey package for git-extras.

  1. Could you say all git-extras dependencies?
  2. For Chocolatey we need .exe or .msi installation file (or zip-archive for portable files).

Could you realize that behavior?

  1. Windows user installed all dependencies.
  2. Windows user run .exe or .msi setup git-extras file and git-extras will be installed.
  3. Windows users may be begin to use git-extras without additional settings.

If it's possible, I may to create Chocolatey package.

Thanks.

spacewander commented 7 years ago

@Kristinita Good question, and a big one.

  1. There is no clear requirement of git-extras... GNU-coreutils is a good start, but it may be a run-error-fix process.
  2. We can get the latest release from https://github.com/tj/git-extras/releases. But, there are bash scripts. Admittedly, bash script is not so mean portable. Most of them should be run via bash in Windows, but no all. Need to clean up git-extras before we package it.
spacewander commented 7 years ago

@Kristinita I will come up with a dependency checklist tomorrow, so you may have a better starting line.

spacewander commented 7 years ago
dependency script
awk git-authors git-line-summary git-summary git-effort git-count git-guilt git-changelog
basename git-archive-file git-scp git-rscp
cat git-ignore git-obliterate git-sed git-stamp git-reauthor git-pull-request git-sync git-alias git-changelog
clear git-effort
column git-summary git-line-summary git-ignore-io
cp git-changelog
curl git-pull-request git-fork git-extras git-ignore-io
cut git-archive-file git-summary git-scp git-rscp git-repl
du git-archive-file
egrep git-authors git-changelog
file git-line-summary
grep git-squash git-ignore git-show-unmerged-branches git-sed git-force-clone git-stamp git-rscp git-line-summary git-show-merged-branches git-alias git-back git-delete-merged-branches git-ignore-io git-locked git-scp
head git-summary git-pull-request git-effort git-authors git-changelog
kill git-changelog
ls git-changelog
mkdir git-setup
mktemp git-merge-repo
mv git-merge-repo
ps git-changelog
pwd git-archive-file git-reset-file
rm git-extras git-fresh-branch git-effort git-scp git-rscp git-delete-submodule git-rebase-patch git-force-clone git-merge-repo git-changelog
rmdir git-delete-submodule
rsync git-scp git-rscp
scp git-scp git-rscp
sed git-summary git-line-summary git-sed git-delete-submodule git-reauthor git-pull-request git-locked git-alias git-guilt git-psykorebase git-changelog
seq git-changelog
sort git-summary git-line-summary git-alias git-effort git-guilt
ssh git-fork git-scp git-rscp
stat git-ignore-io
stty git-changelog
tee git-effort
test git-delete-branch git-obliterate git-bug git-delete-submodule git-guilt git-chore git-repl git-unlock git-setup git-ignore git-contrib git-rscp git-summary git-pr git-touch git-lock git-fork git-create-branch git-fresh-branch git-authors git-commits-since git-refactor git-feature git-undo git-scp git-pull-request git-effort git-graft git-rename-tag
touch git-touch
tput git-effort git-scp git-rscp git-standup
tr git-scp git-rscp git-summary git-show-unmerged-branches git-show-merged-branches git-ignore-io
uname git-extras
uniq git-summary git-line-summary git-effort git-guilt
wc git-summary git-line-summary git-effort
which git-extras git-changelog git-standup
xargs git-delete-merged-branches git-force-clone git-ignore-io git-sed git-effort

Plus git, env and bash.

hemanth commented 7 years ago

Cool! I feel we need to update our wiki with this table ^ :)