That would be nice. This would also solve my problems with "poudriere".Good question, possibly a bug? I tried to ping lwhsu@ about it…
Code:
poudriere ports -c -B 2021Q1 -m git+https -p 2021Q1
That would be nice. This would also solve my problems with "poudriere".Good question, possibly a bug? I tried to ping lwhsu@ about it…
poudriere ports -c -B 2021Q1 -m git+https -p 2021Q1
Yes it is: /usr/local/share/poudriere/common.shAny reason not to use the official repository? Is this "hardwired" to github in poudriere?
7581 : ${SVN_HOST="svn.freebsd.org"}
7582 : ${GIT_BASEURL="github.com/freebsd/freebsd.git"}
7583 : ${GIT_PORTSURL="github.com/freebsd/freebsd-ports.git"}
7584 : ${FREEBSD_HOST="https://download.FreeBSD.org"}
I was going to recommend someone participating in the thread make a Tutorial out of their efforts to save answering the same question over and over.Sorry, but that's totally wrong. You do realize that it took FreeBSD 2 or so years before they came to this decision and carried out the change? See 3 years ago I wrote this guide on Git. Back then it was the next new cool thing but after 3 more years?
… I suggest you take this subject to its own topic. …
If it helps, whilst you wait:Why hasn't the branch "2021Q2" been created on the Github mirror yet?
I prefer this doesnt become another what ports tool to use thread as lately on here there seems to be a campaign to get people to move over to the newer tools, but I will post a summary of why its my preference, although I dont use it on every server.I didn't have a problem with Ruby but the constant battling with a corrupt database made me seriously question my sanity. I was so happy when portmaster was released. Besides having no dependencies it worked much better than portupgrade ever did.
Would like to see more importance given to documenting (or even just announcing) major changes like this.
Not as an afterthought once a few dozen comments have piled up here. But as a common sense part of such transitions.
Eg:
* The FreeBSD handbook should have been updated immediately as the reference of record.
* The ports page (default handbook version) had no mentions of git when I checked earlier.
There are still versions coming up in search (yes, on the docs.freebsd.org site) that don't have the current info.
* Check those top search results for likely strings like "updating freebsd ports" and make sure those resources are accurate?
* The UPDATING or README files in the subversion repo for ports don't have anything saying "this is now static / unsupported". Shouldn't that have been in the last commit?
* The front page news on the freebsd website has no mention. Ports affects a lot more people than, say, the newest RC being out. Spread awareness.
* The project twitter feed has no recent mentions.
* Perhaps a feedback link on the git/ports wiki to let users say "hey you missed these spots"?
* Based on other comments here, test common tools, not just developer favorites?
Yes, yay for progress. But it's 2021, updating matching resources should be a given, not an afterthought.
A newcomer to the community this week would certainly have been confused, and ports are not optional for most use cases.
Last SVN commit to the ports tree:
[ports] Revision 569609
svnweb.freebsd.org
So make sure to change your local ports trees if you've been using subversion to update it. portsnap(8) users should not be impacted by this change.
I don't think You're much wrong - only, I would rather pronounce it as "working with it". It is the difference between business customers (B2B) and consumers (B2C).The basic hypothesis is: FreeBSD is geared towards the needs of those working on it.
In this context, it is also interesting to see how the FreeBSD motto changed over the years.Back in the days when FreeBSD got published, there was still a clear distinction between personal computer users (windows) and business applications (workstation/server=>unix). Now with Berkeley on the apples and linux on the gadgets the distinction is no longer clear.
"Best suited tool"? I strongly beg to differ.Some examples that I think illustrate this point:
- Poudriere is the favorite and best-suited tool for developers and professional deployment.
pkg repo /root/repo/pub.key
"), all distributed by Apache.
- Hence, other ways of using ports are poorly supported and documented: manual ports compilation, binary packages and related tools like portmaster.
So that's why Git got mentioned in the handbook long before the whole transition had been finished.
- Documentation is recognized to be important, but not a priority when implementing changes
See my point above.
- – because those working on FreeBSD already know how to do things. Documentation therefore tends to lag behind current events and the latest-and-greatest ways of deployment/development.
commit a3ad91f11fea5cc457eb053c46c26e4dd43df599
Author: Rene Ladan <rene@FreeBSD.org>
Date: Tue Apr 6 20:59:06 2021 +0200
Handbook: adjust for the various git migrations.
- prefer to install git as a package over building it oneself.
- update dates in in the introduction
- let some Subversion URLs move to the src repository, as it is the only
repository with an Subversion exporter active.
- let the user install git instead of subversion for doing ports work.
Reviewed by: emaste, mat
Differential Revision: https://reviews.freebsd.org/D29450
commit abff932fe818c144380fd5ebfdcdf44f93de46de
Author: Warner Losh <imp@FreeBSD.org>
>>> Date: Tue Mar 16 21:55:44 2021 -0600
Merge in the migration from subversion / github
Add in the migrating from the old subversion / git docs. This section
should be removed in a few months maybe.
Contributions by: lwshu@, Alexander Richardson, kib@, Ceri Davies
[...]
commit cf77cf8be5142f3069e313f6eef3a36597b3dab3
Author: Li-Wen Hsu <lwhsu@FreeBSD.org>
>>> Date: Tue Jan 12 00:46:00 2021 +0800
Update information of source code repositories
Doc and src repositories are in git now and ports tree is in progress.
Reviewed by: uqs, ygy
Approved by: ygy
Differential Revision: https://reviews.freebsd.org/D28080
[...]
commit f3bf61d5614d54621681c2613edfa77c3eb659db
Author: Li-Wen Hsu <lwhsu@FreeBSD.org>
>>> Date: Thu Jan 7 17:13:44 2021 +0800
Add link to git pepository
Approved by: ygy
Differential Revision: https://reviews.freebsd.org/D28015
[...]
commit e98cc8974139ae77d1550f60dba75e3d7435915d
Author: John Baldwin <jhb@FreeBSD.org>
>>>> Date: Mon Dec 21 11:07:24 2020 -0800
Generate links to cgit instead of svn in document title blocks.
PR: 251940
Reviewed by: emaste, gjb, ygy
Differential Revision: https://reviews.freebsd.org/D27704
I'd argue that Poudriere is a widely used tool when people want to maintain their own package repository. I don't see many people installing Poudriere just for the sake of installing a single port.
- poudriere is the de-facto standard for dealing with ports—but it's not part of the base system, and not documented in accordance with its importance. What is in the base system, like portsnap and ports maintenance by raw Makefiles, gets little attention in comparison.
I'm actually not too sure about this to be honest. From my point of view the only reason we have a compiler onboard is because src is a part of the whole distribution. When installing FreeBSD you can opt to have the Ports collection and source tree installed as well. But what good would those be without a compiler?
- The base system is meant to provide the tools needed for development, which is why it contains a compiler for example.
Huh? Ever heard of freebsd-update(8)? It's "only" the de-facto way to upgrade your system, no biggie. It even allows you to customize its settings where you can opt-out from specific parts such as the ports collection and/or the source tree (as well as world/games ? )
- The project also went to great pains to banish GPL'ed code from the base system. And yet it's practically impossible to do serious work on FreeBSD without git, which is GPLv2, and therefore cannot be part of the base system.
Here's a voice that says: stop throwing wild statements around without any arguments to back up your claims.Now, there's always a voice that says "stop complaining and help out".
It's not about making a difference in the first place, it's about trying to help out. "Making a difference" makes it sound like a popularity contest, yech!But the reality is that not everyone that likes to use FreeBSD is in a position to dedicate as much time and energy as is needed to make a difference.
What a load of nonsense.In any aspect of using FreeBSD, you can either do it the way most devs do, or be largely on your own.
Thanks. fixed gitup.conf.
What are you about?Has this change propagated through yet? I'm still not seeing any changes to the ports tree through portsnap.
The first post on the thread indicated that portsnap should not be impacted. I think I'm seeing the same thing as in your separate thread, i.e. portsnap not updating the ports tree. I take it you didn't find a solution to continue using Portsnap?Thanks.
fixed gitup.conf.
Last SVN commit to the ports tree:
[ports] Revision 569609
svnweb.freebsd.org
So make sure to change your local ports trees if you've been using subversion to update it. portsnap(8) users should not be impacted by this change.
Create an alias for the Portsnap command using the git in your environment.The first post on the thread indicated that portsnap should not be impacted. I think I'm seeing the same thing as in your separate thread, i.e. portsnap not updating the ports tree. I take it you didn't find a solution to continue using Portsnap?
Portsnap will continue to be supported. It is deprecated, but it will continue to work for several years, probably. Note that FreeBSD 13 ships with portsnap, too (and it’s even still in 14-current).What are you about?
Ports are now received through git.
Portsnap is no longer up to date.
… not seeing any changes to the ports tree through portsnap. Or perhaps …
… (I shouldn't treat https://wiki.freebsd.org/git#Ports_Schedule as fully comprehensive) …
… For the past few years the motto has been “The Power to Serve”. …
… almost no overlap between the users gathered on these Forums or on Reddit and the people working on FreeBSD. …
‥ I spend far more time in Reddit than here because sadly, discussion of -CURRENT is forbidden.
… Documentation is recognized to be important, but not a priority when implementing changes …