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

"dirty" in uname for msys2-runtime v3.4.3 ?? #3486

Closed
goyalyashpal opened this issue Dec 28, 2022 · 7 comments
Closed

"dirty" in uname for msys2-runtime v3.4.3 ?? #3486

goyalyashpal opened this issue Dec 28, 2022 · 7 comments

Comments

@goyalyashpal
Copy link

goyalyashpal commented Dec 28, 2022

  • why does the uname -a shows "dirty" in "3.4.3-dirty.x86_64 2022-12-19 20:20 UTC" for recent version of msys2-runtime-3.4.3-4 ??

  • and where's the changelog for that?

    • i searched at the upstream URL: https://www.cygwin.com/ but couldn't find it
    • i also ran the following command but returned empty handed for all the packages i tried it for: nano, mintty, less, info, make, python
$ pacman -Qc msys2-runtime
error: no changelog available for 'msys2-runtime'.

Originally posted by @yashpalgoyal1304 in #3012 (comment)

@MehdiChinoune
Copy link
Collaborator

  • why does the uname -a shows "3.4.3-dirty.x86_64 2022-12-19 20:20 UTC" for recent version of msys2-runtime-3.4.3-4 ??

dirty is git term to describe a repo status having uncommitted changes https://mirrors.edge.kernel.org/pub/software/scm/git/docs/gitglossary.html#def_dirty.

  • and where's the changelog for that?

    • i searched at the upstream URL: https://www.cygwin.com/ but couldn't find it
    • i also ran the following command but returned empty handed for all the packages i tried it for: nano, mintty, less, info, make, python
$ pacman -Qc msys2-runtime
error: no changelog available for 'msys2-runtime'.

We don't provide changelog files with our packages, for msys2-runtime/cygwin see:

@goyalyashpal
Copy link
Author

We don't provide changelog files with our packages,

hey, can a note be provided for that? as i think that msys2 already uses a patched pacman. so:

$ pacman -Qc <any>
sorry: we don't provide changelog files with our packages

@MehdiChinoune
Copy link
Collaborator

We don't provide changelog files with our packages,

hey, can a note be provided for that? as i think that msys2 already uses a patched pacman. so:

$ pacman -Qc <any>
sorry: we don't provide changelog files with our packages

It is not a general rule, It's up to the packager to include the changelog but It is not mandatory, so majority don't bother searching and including changelog.

@goyalyashpal
Copy link
Author

oh ohkay.

@jeremyd2019 jeremyd2019 transferred this issue from msys2/MSYS2-packages Dec 29, 2022
@jeremyd2019
Copy link
Member

jeremyd2019 commented Dec 29, 2022

I think it may make sense now to set the version stuff in the PKGBUILD so that the 'official' packaged version doesn't report as 'dirty', and possibly even include the pkgrel in the uname version.

Otherwise, the packaged version will always be "dirty" because it is checked out from the upstream cygwin tag and then has patches generated from this repo applied to that checkout, so it will always be "dirty".

I am kind of second-guessing transferring this to msys2-runtime now, because I think the proper place to set this is in the MSYS2-packages/msys2-runtime/PKGBUILD, probably by using the same mechanism as cygport does for upstream packaging of the cygwin dll.

@jeremyd2019 jeremyd2019 reopened this Dec 29, 2022
@jeremyd2019 jeremyd2019 transferred this issue from msys2/msys2-runtime Jan 11, 2023
@jeremyd2019
Copy link
Member

Should be fixed in #3485 (yep, shouldn't have transferred it)

@goyalyashpal
Copy link
Author

yep, shouldn't have transferred it

😆 yeah, it's sometimes a bit confusing which repo an issue belongs to. glad to have been replicated 🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants