profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/mislav/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Mislav Marohnić mislav The Netherlands https://mislav.net =(◉ᴥ◉)=

cli/cli 24199

GitHub’s official command line tool

defunkt/jquery-pjax 16792

pushState + ajax = pjax

madrobby/zepto 14923

Zepto.js is a minimalist JavaScript library for modern browsers, with a jQuery-compatible API

madrobby/scriptaculous 2316

script.aculo.us is an open-source JavaScript framework for visual effects and interface behaviours.

dgraham/delegated-events 968

A small, fast delegated event library for JavaScript.

josh/rails-behaviors 272

Rails UJS Behaviors for jQuery and Zepto

mislav/anyenv 272

rbenv-inspired version manager that can be configured to manage versions of ANYTHING

bkeepers/github-notifications 212

A client for reading GitHub notifications

dgraham/eslint-plugin-jquery 196

Disallow jQuery functions with native equivalents.

issue commentrbenv/ruby-build

Errors installing <2.3 ruby using fedora and rbenv

I'm sorry you're having trouble compiling, but we can't provide support for end-of-life Rubies. In my experience, it's difficult to build older Rubies on newer system. Usually the problems are either that your openssl version is too new for the old Ruby, or that your compiler (usually gcc) is too new.

benbagley

comment created time in 7 hours

issue closedrbenv/ruby-build

Errors installing <2.3 ruby using fedora and rbenv

I've installed rbenv and ruby 3.0.2 just to check that everything works, here is my output and logs when trying 2.2.6.

➜  ~ rbenv install 2.2.6              
Downloading ruby-2.2.6.tar.bz2...-> https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.tar.bz2

Installing ruby-2.2.6...

WARNING: ruby-2.2.6 is past its end of life and is now unsupported.
It no longer receives bug fixes or critical security updates.


BUILD FAILED (Fedora 34 using ruby-build 20210726-1-gcf9a6fc)

Inspect or clean up the working tree at /tmp/ruby-build.20210730103309.64945.5oJnxZ
Results logged to /tmp/ruby-build.20210730103309.64945.log

Last 10 log lines:
linking shared-object bigdecimal.so
make[2]: Leaving directory '/tmp/ruby-build.20210730103309.64945.5oJnxZ/ruby-2.2.6/ext/bigdecimal'
linking shared-object nkf.so
make[2]: Leaving directory '/tmp/ruby-build.20210730103309.64945.5oJnxZ/ruby-2.2.6/ext/nkf'
linking shared-object date_core.so
make[2]: Leaving directory '/tmp/ruby-build.20210730103309.64945.5oJnxZ/ruby-2.2.6/ext/date'
linking shared-object ripper.so
make[2]: Leaving directory '/tmp/ruby-build.20210730103309.64945.5oJnxZ/ruby-2.2.6/ext/ripper'
make[1]: Leaving directory '/tmp/ruby-build.20210730103309.64945.5oJnxZ/ruby-2.2.6'
make: *** [uncommon.mk:189: build-ext] Error 2

Here are my logs: https://pastebin.com/raw/KHCQjAsA

closed time in 7 hours

benbagley

issue commentrbenv/ruby-build

travis-ci.org no longer builds and Ruby archives are no longer mirrored

@eregon Thanks for letting me know. Fixed in dc047ade1ea5aa3bc997f1f12108ef4d7e3baf9a

eregon

comment created time in 7 hours

delete branch rbenv/ruby-build

delete branch : fix-actions-mirror

delete time in 7 hours

push eventrbenv/ruby-build

Mislav Marohnić

commit sha dc047ade1ea5aa3bc997f1f12108ef4d7e3baf9a

Fix mirror job in Actions https://github.com/aws/aws-cli/issues/5234#issuecomment-705831465

view details

Mislav Marohnić

commit sha 075ad3bee92fd110a9eafd20a04202da05b4e7fa

Disable progress output when uploading to S3

view details

push time in 7 hours

create barnchrbenv/ruby-build

branch : fix-actions-mirror

created branch time in 7 hours

issue commentrbenv/ruby-build

Cannot load such file -- optparse (LoadError)

makes me wonder if a previous version of Ruby is needed to build Ruby >= 2.7.0?: "executable host ruby is required. use --with-baseruby option".

@hsbt Do you know anything about this?

magicalbanana

comment created time in 7 hours

issue closedcli/cli

Github api to scan vulnerability on command line

CLI Feedback

Its very powerful tool.

What was confusing or gave you pause?

I am trying to scan vulnerability of a repo using gh cli with github api but documentation gives details about vulnerability alerts. Is there any api which can scan all vulnerabilities in a repository using command line?

closed time in 2 days

GargiAgrawalscb

issue commentcli/cli

Github api to scan vulnerability on command line

Yeah, through gh api you can make a GraphQL query like so:

query ($repoOwner: String!, $repoName: String!) {
  repository(owner: $repoOwner, name: $repoName) {
    vulnerabilityAlerts(last:10) {
      nodes {
        createdAt
        securityVulnerability { vulnerableVersionRange }
        securityAdvisory { description }
      }
    }
  }
}

I didn't list all the available fields; you will have to study the GraphQL API (I recommend doing that through our online GraphQL Explorer) and select the fields that you are interested in ✌️

GargiAgrawalscb

comment created time in 2 days

create barnchmislav/homebrew-core

branch : update-ruby-build.rb-1627564137

created branch time in 2 days

issue commentrbenv/ruby-build

2.7.2 build fails on MacOS 10.15.7 with homebrew, unsupported option '--with-readline-dir

Try brew install openssl@1.1 and then building all Ruby versions by setting

RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)" ruby-build 2.7.2 ...
jrochkind

comment created time in 2 days

issue closedrbenv/ruby-build

bump-homebrew-formula-action@v1.4 fails with HttpError: Bad credentials

See https://github.com/rbenv/ruby-build/runs/3163289927?check_suite_focus=true cc @mislav

Maybe the COMMITTER_TOKEN used was invalidated since GitHub recently changed the format of those and sent emails to renew them?

closed time in 2 days

eregon

issue commentrbenv/ruby-build

bump-homebrew-formula-action@v1.4 fails with HttpError: Bad credentials

I've actually regenerated that token! I have no idea why it failed after that.

I've regenerated it again and updated the repository secret. Please reopen if it fails again 🤞

eregon

comment created time in 2 days

push eventrbenv/ruby-build

Mislav Marohnić

commit sha cf9a6fcdade04c6dbe04c476482b42f04f30b2a1

Use latest bump-homebrew-formula-action

view details

push time in 2 days

issue commentcli/cli

Github api to scan vulnerability on command line

Hi thanks for writing in!

By "vulnerabilities" do you mean Code Scanning or something different?

GargiAgrawalscb

comment created time in 2 days

issue commentcli/cli

gh-set-status

@vilmibm I just tried this and it worked great!

gh user-status set -e :home: "Working from home"

Note that I first had to do gh auth refresh -s user -h github.com because the gh token isn't authorized with the user scope by default. Perhaps the extension could handle this message?

Error: failed to run gh. error: exit status 1, stderr: gh: Your token has not been granted the required scopes to execute this query. The 'changeUserStatus' field requires one of the following scopes: ['user'], but your token has only been granted the: ['gist', 'notifications', 'read:discussion', 'read:org', 'repo', 'workflow'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.

An idea for the --emoji flag: could it accept the name of the emoji without the leading and trailing : characters? Since an emoji alias is the only thing in this value, I'm not sure why the colon syntax would be required?

vilmibm

comment created time in 3 days

pull request commentmatryer/moq

rm flag

@soniah Thank you for this! Just what our project needed. 🚀

soniah

comment created time in 3 days

push eventcli/cli

Mislav Marohnić

commit sha bbd74f004f5519985018481eea28ed966bac4185

Go 1.14 compat

view details

push time in 3 days

PR opened cli/cli

Rework local extensions for Windows

Replace the implementation that relied on symlinks with the one that create regular files that act like symlinks: they contain a reference to the local directory where to find the extension.

Bonus:

  • Listing extensions is now faster in places where metadata is not needed (e.g. in gh help output) because checking for updates is skipped.
  • Fixed error when the first installed extension happens to be a local one.
+100 -61

0 comment

11 changed files

pr created time in 3 days

create barnchcli/cli

branch : extensions-overhaul

created branch time in 3 days

issue closedrbenv/rbenv-installer

Installation via apt-get ends up with multiple rbenv executables in PATH

On Ubuntu 20.04 files in /usr/bin/rbenv and /bin/rbenv are synchronized. Because of this the installation for Linux from readme fails. curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor | bash prints:

Checking for `rbenv' in PATH: multiple
  You seem to have multiple rbenv installs in the following locations.
  Please pick just one installation and remove the others.
  
  /usr/bin/rbenv
  /bin/rbenv

This is expected, since there are 2 identical files, rbenv, in both those directories. Because of the synchronization I can't just delete one of those files. Since this is a symlink anyway (/usr/bin/rbenv -> ../lib/rbenv/libexec/rbenv*), this should be allowed and just one file should be used.

closed time in 3 days

j-adamczyk

pull request commentrbenv/rbenv-installer

Don't include symlinks to detect multiple binary

Thank you!

Ragnoroct

comment created time in 3 days

push eventrbenv/rbenv-installer

Will Bender

commit sha b53c0f133e2eae0ddfceecd7bdfb9e4997280444

Don't include symlinks to detect multiple binary (#37)

view details

push time in 3 days

PullRequestReviewEvent

delete branch cli/cli

delete branch : upgrade-goreleaser

delete time in 3 days

push eventcli/cli

Mislav Marohnić

commit sha 5a46c1cab601a3394caa8de85adb14f909b811e9

Merge pull request #4043 from cli/upgrade-goreleaser This reverts commit 85d0447.

view details

push time in 3 days

PR merged cli/cli

Update Goreleaser, take 2

Previously: #3926 Reverts commit 85d0447a6ea2263b0f2babbd44c1be1ccf3104d4.

Verified via:

$ goreleaser release --skip-publish --skip-validate --rm-dist
$ docker run --rm -ti -v "$PWD/dist:/dist" ubuntu:focal dpkg -c /dist/gh_1.13.1_linux_amd64.deb
drwxr-xr-x 0/0               0 2021-07-26 13:01 ./usr/
drwxr-xr-x 0/0               0 2021-07-26 13:01 ./usr/bin/
-rwxr-xr-x 0/0        28893184 2021-07-26 13:01 ./usr/bin/gh
+5 -4

0 comment

2 changed files

mislav

pr closed time in 3 days

push eventcli/cli

Mislav Marohnić

commit sha b8367cee196cebc9507c4c2ef943a151c05a4aa5

Update releases.yml

view details

push time in 3 days