Please do NOT post requests for help here. Use the Help forum for that.
  • Page:
  • 1

TOPIC:

git users 4 months 1 week ago #1

  • fisharebest
  • fisharebest's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 14511
If you use the development code from github, there are two changes that will affect you.

These are both "breaking changes" to your workflow, and will happen when we create the 2.1.0 release.

Further details will be posted closer to the time.

Firstly - the "master" branch of the code will be renamed to "main".
This follows a movement in the software industry to avoid terminology
which has negative connotations towards certain groups of people.
For example, whitelist/blacklist and master/slave.
See github.com/github/renaming for a little more information.

Secondly - the third-party libraries will no longer be included in the `vendor` folder.
You will need to install these manually using `composer install --no-dev`.
We have included these dependencies for historical reasons; when the project
was started, there were no package managers such as `composer`.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

git users 2 months 2 days ago #2

  • fisharebest
  • fisharebest's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 14511
If you use the latest development code from github, please note that first of these updates has been completed:

> the "master" branch of the code will be renamed to "main".

When you next visit github.com/fisharebest/webtrees you will see a message like this:



Github will actually re-direct requests for master onto main - so you don't need to do anything. But it may save problems later if you run the commands shown above.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
Attachments:

Please Log in or Create an account to join the conversation.

git users 2 months 1 day ago #3

  • fisharebest
  • fisharebest's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 14511
> the third-party libraries will no longer be included in the `vendor` folder.

This change has also been made today.

After you download code from github, you need to fetch the third-party libraries into the vendor folder yourself.

You do this with the command
php composer.phar install --no-dev

(You get the file composer.phar from getcomposer.org/composer.phar)
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum