You are not logged in.

#1 2021-06-03 15:49:04

equalizer876
Member
Registered: 2018-09-11
Posts: 78

[SOLVED] How to check PKGBUILD faster?

Usually 'auracle outdated' will inform about updates. Then I cd into the AUR directory, type 'git pull', type cat PKGBUILD. Now to make checking easier I just want to view something like https://aur.archlinux.org/cgit/aur.git/ … e54b1c4622 without opening my internet browser. What cli commands would you use?

Last edited by equalizer876 (2021-06-03 17:38:25)

Offline

#2 2021-06-03 17:19:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] How to check PKGBUILD faster?

git show

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-06-03 17:37:42

equalizer876
Member
Registered: 2018-09-11
Posts: 78

Re: [SOLVED] How to check PKGBUILD faster?

Thanks! This helped.

Offline

#4 2021-06-03 20:50:15

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] How to check PKGBUILD faster?

Note that git show only gets the latest commit changes.

If by chance there are multiple commits (rare), you can do:

git diff $from $to

Replacing <from> and <to> with the respective info that git pull shows, usually commit hashes.
Usually its a pair of hashes joined by ..


My reposSome snippets

Heisenberg might have been here.

Offline

#5 2021-06-03 21:31:42

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,933
Website

Re: [SOLVED] How to check PKGBUILD faster?

Or, before the pull, do a

$ git fetch
$ git diff master origin/master

to see All upstream changes since the last pull.

Offline

#6 2021-06-04 01:19:32

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] How to check PKGBUILD faster?

$ git config --get alias.new 
log --pretty=fuller --cc @{1}..@{0}

"git new" then shows the full log, with diffs and mergediffs and both author/committer, for the range of commits between the pre-pull commit and the post-pull commit. See "git help revisions" for the manual page describing @{1} and other interesting ways to specify commits.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB