yay icon indicating copy to clipboard operation
yay copied to clipboard

SVN packages not updated when --devel is passed.

Open nathanielcwm opened this issue 4 years ago • 6 comments

Affected Version

yay v9.4.6 - libalpm v12.0.1

Issue

Even when the devel flag is specified SVN packages aren't updated along with the rest of the packages. They have to be manually specified to be updated.

Steps to reproduce

  1. Install an svn package.
  2. Run yay -Syu --devel
  3. Observe that it is not in the list of devel packages
  4. Specify the package directly and see how it only checks and updates the repo then.

Output

yay -Syu --devel
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
:: Checking development packages...
 -> ttf-mac-fonts: local (20100902.134-1) is newer than AUR (20100901.134-1)
 -> Orphaned AUR Packages:  rsound
 -> Flagged Out Of Date AUR Packages:  sphinxbase
:: 4 Packages to upgrade.
4  devel/dav1d-git                r1314.fced1a1-1          -> latest-commit
3  devel/dolphin-emu-git          5.0.r11834.gd8d620ef0e-2 -> latest-commit
2  devel/ffmpeg-amd-full-git      4.3.r97229.g932493f9c2-1 -> latest-commit
1  devel/gridcoinresearch-qt-git  4.0.6.12.db6a5ab42-1     -> latest-commit
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==>
yay -Pg
{
        "aururl": "https://aur.archlinux.org",
        "buildDir": "/home/nathanielcwm/.cache/yay",
        "absdir": "/home/nathanielcwm/.cache/yay/abs",
        "editor": "",
        "editorflags": "",
        "makepkgbin": "makepkg",
        "makepkgconf": "",
        "pacmanbin": "pacman",
        "pacmanconf": "/etc/pacman.conf",
        "redownload": "no",
        "rebuild": "no",
        "batchinstall": false,
        "answerclean": "",
        "answerdiff": "",
        "answeredit": "",
        "answerupgrade": "",
        "gitbin": "git",
        "gpgbin": "gpg",
        "gpgflags": "",
        "mflags": "",
        "sortby": "votes",
        "searchby": "name-desc",
        "gitflags": "",
        "removemake": "ask",
        "sudobin": "sudo",
        "sudoflags": "",
        "requestsplitn": 150,
        "sortmode": 0,
        "completionrefreshtime": 7,
        "sudoloop": false,
        "timeupdate": false,
        "devel": false,
        "cleanAfter": false,
        "provides": true,
        "pgpfetch": true,
        "upgrademenu": true,
        "cleanmenu": true,
        "diffmenu": true,
        "editmenu": false,
        "combinedupgrade": false,
        "useask": false
}

https://gist.github.com/nathanielcwm/3546cf1431f0b188e67589be3a08cdd1

nathanielcwm avatar Apr 11 '20 04:04 nathanielcwm

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 01 '20 12:11 stale[bot]

I believe this is still an issue.

nathanielcwm avatar Nov 03 '20 02:11 nathanielcwm

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 02 '21 03:01 stale[bot]

Still present

nathanielcwm avatar Jan 04 '21 12:01 nathanielcwm

We don't check svn packages like we do for git so we can't know if they're due for an update, as a closest alternative we could always present svn devel packages to update @nathanielcwm

Jguer avatar Feb 01 '21 07:02 Jguer

Sounds better than the current behaviour. Not a lot of packages are svn now so I don't think it's gonna make a major impact in updating speeds.

And anyway most people I doubt are even passing the --devel flag so it's only likely to affect ppl who know what they are doing to some extent.

nathanielcwm avatar Feb 02 '21 14:02 nathanielcwm