Skip to content
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

Inform about "out-of-date" packages? #3536

Closed
goyalyashpal opened this issue Feb 7, 2023 · 8 comments
Closed

Inform about "out-of-date" packages? #3536

goyalyashpal opened this issue Feb 7, 2023 · 8 comments
Labels
not-bug General questions, not an issue

Comments

@goyalyashpal
Copy link

goyalyashpal commented Feb 7, 2023

hi!

  • should pacman warn or inform users about "out-of-date" packages ?
  • while doing -S (installing) -Ss (searching) -Si (information) or -Qu (query updateable)
  • i think yes! but would like to discuss on this.

something like:
(MORE means the currently existing output)
(i dont remember the output format of -S commands, will update the example suggestions later)

$ pacman -S samplepkg
warning: samplepkg out-of-date, contribute with updated PKGBUILD
... MORE ...

$ pacman -Qu samplepkg1 sample2
samplepkg1 0.1 -> 0.2 (out-of-date on repo)
sample2 0.1 (out-of-date on repo)
@Biswa96
Copy link
Member

Biswa96 commented Feb 7, 2023

pacman -Syu command already shows which package need to be updated. Or are you asking for other commands?

@goyalyashpal
Copy link
Author

goyalyashpal commented Feb 7, 2023

hi! i am saying for the packages which are outdated on the repo itself... not on the system 😃

@Biswa96
Copy link
Member

Biswa96 commented Feb 7, 2023

packages which are outdated on the repo itself

pacman, a package manager, is not for that job. The https://packages.msys2.org/outofdate page get the outdated packages by comparing versions with archlinux, AUR and cygwin.

@goyalyashpal
Copy link
Author

goyalyashpal commented Feb 7, 2023

i was not saying that pacman should get and calculate that info

my idea was if the data from that page is put in repo data itself somehow, and pacman just shows that....

@Biswa96
Copy link
Member

Biswa96 commented Feb 7, 2023

my idea was if the data from that page is put in repo data itself somehow

Your idea seems to be similar with this #3088

@goyalyashpal
Copy link
Author

hi! thanks, yes it seems so... but it might be different as well...

umh, i will ask it there to see if that one covers this or is it better as a separate issue...

@lazka
Copy link
Member

lazka commented Feb 12, 2023

As said above, pacman is a user tool, not a package maintainer tool. Users shouldn't need to care which packages are outdated, ideally.

@lazka lazka closed this as completed Feb 12, 2023
@Biswa96 Biswa96 added the not-bug General questions, not an issue label Feb 12, 2023
@goyalyashpal
Copy link
Author

goyalyashpal commented Feb 13, 2023

pacman is a user tool, not a package maintainer tool

this suggestion has nthng to do with being a pac maintainer.

it's purpose is to let user know if the package they are going to install is outdated or not so that they can check for themselves if there is any breaking change in latest stable version.

that is, if they install and use an outdated package via msys2; the latest of which has existing breaking changes; then they are already shooting themselves in foot.

e.g.: any programs that have some form of interface, or custom format etc. like content creation programms, programs with commands, programming languages

the current example is blender v2.93.14 on msys2 vs v3.4.1 - there are lots of breaking changes in v3.4 from v2.93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-bug General questions, not an issue
Projects
None yet
Development

No branches or pull requests

3 participants