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

Git and related corrections and improvements #182

Closed
wants to merge 19 commits into from

Conversation

grahamperrin
Copy link
Contributor

freebsd/freebsd-src@df53ae0:

  • removed portsnap
  • encourages use of Git.

Aim to correct Git-related mistakes as soon as possible before creation of the releng/14.0 branch.

Make proper use of words such as these. 

In Git, HEAD is not a branch; and so on.
Fix line 1049 of my 3aa3aa2.

Avoid ambiguous phrases such as mainline and main line.

Be consistent with markup, wherever main is a branch.
Under <https://docs.freebsd.org/en/articles/committers-guide/#_rebasing_your_change_against_latest_freebsd_source_tree>, a list of items is misrepresented as a single paragraph with asterisk characters in its midst.

Fix the markup.
Under <https://docs.freebsd.org/en/articles/committers-guide/#pref-license>: 

* "… approval of the core@FreeBSD.org to …" is bad grammar. Remove the word 'the'

* "the main repository" is ambiguous; there are three repositories.
More consistency with markup. 

Where quarterly ports branches are described, use latest (not current) to describe latest.
Monospace for commands, namespaces, and so on.
With Git, for the ports repo: HEAD is not a branch; latest is not a branch; quarterly is not a branch; and so on.
Copy link
Member

@bsdimp bsdimp left a comment

Choose a reason for hiding this comment

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

Generally good. A few nit picky comments

@grahamperrin

This comment was marked as resolved.

@grahamperrin grahamperrin marked this pull request as ready for review May 8, 2023 08:09
As we removed preceding sentence, about master and main, so we can remove this sentence about both branch names.
<https://docs.freebsd.org/en/articles/committers-guide/#_branch_names> was a single-paragraph subsection from around the time of migration to Git. It mentioned master; did not mention releng branches; and so on.

Rewrite the subsection, provide examples (including tags). Keep it brief.

Phrases such as FREEBSD-CURRENT and FREEBSD-STABLE are fine at <https://www.freebsd.org/releases/#future>, should be equally fine in this Guide.
@grahamperrin

This comment was marked as outdated.

@grahamperrin
Copy link
Contributor Author

https://reviews.freebsd.org/D40026

freebsd-git pushed a commit that referenced this pull request May 16, 2023
df53ae0fdd98e9452095ac2fdaf95fcfac8c9c7f (2023-04-23):

* removed portsnap
* encourages use of Git.

This round of Git-oriented corrections and changes is, essentially,
timed to precede creation of the releng/14.0 branch. Not intended to be
comprehensive.

Attention to things such as:

* HEAD (not a branch) and main (branch)
* main (not a branch) and mainline
* repositories (there are three)
* ports latest, current (not CURRENT) and quarterly
* FREEBSD-CURRENT and FREEBSD-STABLE
* master
* things that were relevant only around the time of migration to Git
* markup
* grammar.

Under
https://docs.freebsd.org/en/articles/committers-guide/#_rebasing_your_change_against_latest_freebsd_source_tree
a list of items was misrepresented as a single paragraph with asterisk
characters in its midst.

Reviewed by:           carlavilla, imp
Approved by:           imp
Pull Request:          #182
Differential revision: https://reviews.freebsd.org/D40026
@grahamperrin
Copy link
Contributor Author

The pre-closure comment in Phabricator:

Maybe peculiar that --ff-only is nowhere in the Updating and Upgrading FreeBSD chapter of the FreeBSD Handbook, however I'll commit as is.

Another round of changes – to including markup of paths and filenames, and so on – can be more leisurely.

Since the list at https://docs.freebsd.org/en/articles/committers-guide/#_rebasing_your_change_against_latest_freebsd_source_tree has been fixed (to appear as a list), it's easier to see that some occurrences of XXX are not monospace:

image


And so on …

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