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

ls.c: versort incompatible w/ timesort and sizesort #825

Closed
wants to merge 1 commit into from

Conversation

concussious
Copy link
Contributor

@concussious concussious commented Aug 19, 2023

Based on this comment #818 (comment)

Copy link
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's all i have for now, i just woke up and I'm nowhere close to a computer

i can help with git if you need that help, or maybe other people in #freebsd-dev on https://libera.chat/ can too, if GitHub comments aren't the most appropriate way to do that

ls.1 Outdated Show resolved Hide resolved
@markjdb
Copy link
Member

markjdb commented Oct 13, 2023

Your commits delete ls.1 and then re-add it, so the diffs are not readable. Please clean up the git history and force-push.

@concussious concussious changed the title ls(1): integrate -v with other sorting options, manual page cleanups ls.c: versort incompatible w/ timesort and sizesort Jan 10, 2024
@igalic
Copy link
Contributor

igalic commented Jan 10, 2024

@concussious this looks very good now.
thank you very much.

Please fix your email address in the commit Metadata, as we don't accept noreply (Github) addresses

@concussious
Copy link
Contributor Author

Please fix your email address in the commit Metadata, as we don't accept noreply (Github) addresses

Did that work? Sorry, this is my first times learning to do this.

@bsdimp
Copy link
Member

bsdimp commented Jan 12, 2024

You got the name right. Looking at the latest version I see:

commit b9835b6845a6e199d56b78403af52a8c028c35e8 (github-freebsd/pull/825/head)
Merge: 8c2909867afd dafd0d685531
Author: Alexander Ziaee <[email protected]>
Date:   Fri Jan 12 11:24:49 2024 -0500

    Merge branch 'freebsd:main' into ls(1)

commit 8c2909867afd2c56c99040744521db635780d90c
Author: Alexander Ziaee <[email protected]>
Date:   Fri Jan 12 11:24:44 2024 -0500

    ls.1: versort incompatible w/ timesort and sizesort

commit 653855fe57c8b91c6540596c3c45ad7d0c462932
Author: Alexander Ziaee <[email protected]>
Date:   Fri Jan 12 11:24:30 2024 -0500

    ls.c: versort incompatible w/ timesort and sizesort

however, there's three small problems remaining. First, you used 'git merge' to merge the latest FreeBSD into your branch. We want our pull requests to use a 'rebase' workflow without merge commits. This is easy for you to fix. You can do a git rebase -i main ls(1) (I think that's the name of the branch in your fork). This will throw away the merge commit and rebase things forward. While you are doing that (since I specified -i) you can change your 'work' file that comes up from 'pick' for those two revisions to pick followed by squash. This will squash these two changes together. You'll need to adjust the commit mesage. ls: versort is incompatible with timesort and sizesort.

Finally, since you made a semantic change to the man page (as opposed to fixing a typo or fixing a small grammar error), you should bump the .Dd date line to today's date.

You'll need to do a git push --force-with-lease to update since you're rewriting history. Since you're editing the history so it looks best in the FreeBSD repo, these steps produce the best outcome.

Thanks for your submission @concussious and your attention to these details.

ls.1: versort incompatible w/ timesort and sizesort
@concussious
Copy link
Contributor Author

Thank you so much sir. I promise this lesson will pay off in the future.

Copy link
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bsdimp
Copy link
Member

bsdimp commented Jan 26, 2024

Thanks for the force push. This seems like a completely sane change. to me.

@bsdimp bsdimp self-assigned this Jan 26, 2024
@bsdimp bsdimp added the ready label Jan 26, 2024
@bsdimp
Copy link
Member

bsdimp commented Feb 2, 2024

d854370
I also noticed I missed igalic's review here. mea culpa... I don't know how to automate snagging this when I download the PR.

@bsdimp bsdimp closed this Feb 2, 2024
@bsdimp bsdimp added merged and removed ready labels Feb 2, 2024
freebsd-git pushed a commit that referenced this pull request Feb 2, 2024
ls.1: versort incompatible w/ timesort and sizesort

Reviewed by: imp
Pull Request: #825
@igalic
Copy link
Contributor

igalic commented Feb 2, 2024

I don't know how to automate snagging this when I download the PR.

yeah, i don't see anything useful here https://api.github.com/repos/freebsd/freebsd-src/pulls/825

Maybe gh has something more useful?

freebsd-git pushed a commit that referenced this pull request Feb 28, 2024
ls.1: versort incompatible w/ timesort and sizesort

Reviewed by: imp
Pull Request: #825

(cherry picked from commit d854370)
@concussious concussious deleted the ls(1) branch March 3, 2024 23:49
bsdjhb pushed a commit to bsdjhb/cheribsd that referenced this pull request Aug 1, 2024
ls.1: versort incompatible w/ timesort and sizesort

Reviewed by: imp
Pull Request: freebsd/freebsd-src#825
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants