Inhalte aufrufen

Profilbild

How to update my source to 5.0.1


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
2 Antworten zu diesem Thema

#1 Adams

Adams

    Newbie

  • Members
  • 3 Beiträge

Geschrieben: 21 November 2022 - 16:17

I started developing in SmartStore 5.0.0, but now 5.0.1 is released and I want to update my source. Someone told me to copy all 5.0.1. files in the same folder as 5.0.0 and override the duplicates. Done that, but then I got some errors about IViewInvoker. Looks like it is implemented twice.

 

I think there are some files deleted from version 5.0.0 to 5.0.1 and when I overwrite the contents, the missing files in 5.0.1 will not be removed from 5.0.0.

 

Questions:

  1. What is the preferred way to update source?
  2. Is there a list of files that I need to remove from 5.0.0 after overwriting the folder with 5.0.1?

 


  • GalenKa und RidgeOi gefällt das

#2 Adams

Adams

    Newbie

  • Members
  • 3 Beiträge

Geschrieben: 21 November 2022 - 16:45

I deleted the next 5 files, hope this list is complete:

  • \src\Smartstore.Core\Platform\Widgets\IViewInvoker.cs
  • \src\Smartstore.Modules\Smartstore.WebApi\Controllers\OData\_MediaFoldersController.cs
  • \src\Smartstore.Web.Common\Api\ApiUploadAttribute.cs
  • \src\Smartstore.Web.Common\Rendering\Extensions\IHtmlContentExtensions.cs
  • \src\Smartstore.Web.Common\Rendering\Extensions\ViewContextExtensions.cs

 

Still the question: What is the preferred way to update my source?


  • GalenKa und RidgeOi gefällt das

#3 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3701 Beiträge

Geschrieben: 24 November 2022 - 20:12

"1. What is the preferred way to update source?"
Depending on the requirements, a Git fork.
 
"2. Is there a list of files that I need to remove from 5.0.0 after overwriting the folder with 5.0.1?"
No. Manual file operations are not necessary. Git or Github is responsible for managing all the source code. You just do a Git pull with a Git client like Sourcetree and your local source code is up to date.

  • GalenKa, RidgeOi und stefanmueller gefällt das

Schöne Grüße aus Düsseldorf,
Marcus Gesing