Memnarch / Delphinus

An alternative Packagemanager for the Delphi-IDE
Mozilla Public License 2.0
235 stars 64 forks source link

How to correct or update the existing packages available on Delphinus?? #57

Closed amjadtbssm closed 6 years ago

amjadtbssm commented 6 years ago

I was wondering is there a way to update the packages already available on Delphinus?? I was installing SynEdit but it failed a numerous times, upon inspection I found out that the SynEdit folder in comps folder is C:\Users\Public\Documents\Embarcadero\Studio\17.0\Comps\SynEdit\Source\Source instead of C:\Users\Public\Documents\Embarcadero\Studio\17.0\Comps\SynEdit\Source any ideas please??

Pawe1 commented 6 years ago

1. What do You mean by "update"? You mean to clone repository / make changes or fixes / sideload it?

:warning: Watch out for issue https://github.com/Memnarch/Delphinus/issues/43 - make sure source folder has same as package before sideloading.

2. Do You mean that there is a bug in latest SynEdit release? Have You reported it to its author? Maybe make a fork / clone / fix / commit / push / make a pull request with fix / gain the kudos? :grin:

Memnarch commented 6 years ago

The double Source/Source folder is ugly but not an issue. If installation fails for you there seems to be a problem with Synedit(did you install the version of HEAD of it?) or its packagedefinition. As mentioned by Pawe1, best option might be to forward it to the SynEdit-Project.

Memnarch commented 6 years ago

The issue already exists. maybe bump it by commenting: https://github.com/SynEdit/SynEdit/issues/70

amjadtbssm commented 6 years ago

Installing both HEAD or release version gives the same error here is a log file. Install from folder didn't work either. I'm updating an old project to Seattle plz help out.

Downloading SynEdit Version: SynEdit-2.0.9-beta Copying sourcefolders: Error: base must be exactly overlapping with folder string to remove it Source Error: Failed to load group C:\Users\Public\Documents\Embarcadero\Studio\17.0\Comps\SynEdit\source\Packages\RX\SynEdit.groupproj Error: File does not exist Adding Libpathes: Adding Searchpathes: Source Adding Browsingpathes: Source deleting tempfiles Error: Installation failed

Memnarch commented 6 years ago

As said above, that is an issue with synedit. They need to fix it on their side atm.

Pawe1 commented 6 years ago

Try uninstall package / clone / delete "base": ".", from Delphinus.Info.json and sideload package considering what I said before. But this is just a temporary workaround.

If this works create some patch and make a pull request to share the fix with community :wink:

BTW this is strange that only available release in SynEdit reposiroty is not a stable one... :roll_eyes:

amjadtbssm commented 6 years ago

Well folks, I found the Core of the Problem, its Delphinus. SynEdit Packages looks for Source folder as "....\Source\FileName.pas" Whereas Delphinus puts every folder in the source folder. synedit

Is there a way to copy a folder with Delphinus.Install.json up one folder of Source folder, I mean the install directory (The directory where Delphinus makes the source folder).

Pawe1 commented 6 years ago

@amjadtbssm I wrote correct answer for Your problem: https://github.com/Memnarch/Delphinus/issues/57#issuecomment-335438608

Having valid config files shall be the responsibility of repository maintainers.

amjadtbssm commented 6 years ago

@Pawe1 Thanks for the assist, the problem have been solved on SynEdit so i'm closing this issue. Thanks everyone for your help