corneliusdavid / autogetit Goto Github PK
View Code? Open in Web Editor NEWautomate the GetIt package manager for RAD Studio (Delphi) by calling the command-line tool
License: MIT License
automate the GetIt package manager for RAD Studio (Delphi) by calling the command-line tool
License: MIT License
Hi,
This package wont install, it tells me I am missing TDosCommand?
Best Wishes
Phil
Get it does not work on my 10.2.3 since day 1.
Using 10.2.1 (on my backup) it worked somehow
I was expecting to see getit in you're program the getit components
so I will finally use it.
Pressing the refresh button a few times gets an error doscmnd as expected.
However, waiting for 1/2 an hour did nothing except the error (refresh).
I wander AFTER running your program pressing getit on the IDE did not bring
an error but it turns endlessly.
P.S on line if StartsText('--', ANewLine) then
ANewLine='GetIt Package Manager - Version 6.0'
Making this line // it brings back as though the getit program does not work
Is it possible that getit on 10.2 works differently?
If I type something as filter text and refresh package list, then there is no row selected (as expected - results might be empty anyway)
This will cause a list index out of bounds though if I right click in the empty space and then click again in it (outside of the popup / context menu). Probably tries to restore previously selected row and doesn't handle case where there was no selected row
As you may know, there are many packages in GetIt that wont work because of a wrong end of line coding (LF instead of CRLF, see https://quality.embarcadero.com/browse/RSP-32976)
Would it be possible to integrate a routine in AutoGetIt to correct the dpr before installing?
Compiled in 32-bit Windows platform using Delphi 10.4 (Version 27.0.38860.1461) and running in Admin mode, I'm getting the following error in the Demo2 application when I click the "Refresh Package List" button:
"Access violation at address 0040A35A in module 'AutoGetItVCL.exe', Write of address 00000044."
I'm probably missing something here but any suggestion outside of the likes of "get a life" and "learn to code" would be appreciated.
TIA!
Pressing the refresh button twice gave "DosCommand still running"
so I added
DosCommand.Execute;
repeat
Application.ProcessMessages;
until FFinished;
DosCommand.Stop;<<<<<<<<<<<<<<<<<<<<
CleanPackageList;
No way to compile the source.
Compiling is required as every Delphi Version has to be included into the source. Even Delphi 12 is already in the code, the code isn't working. Even if you create a new project with just the code it always gives the error of "AutogetitVCL.dres" not found. This file (Delphi graphic compiles ressource) is missing.
D10.2.3
Can you return to the old ver that worked on my Delphi? with the new modifications
It does not even load
The main page does not load
How can I list all packages that have updates?
Not sure if possible, there is some lengthy info here that might be helpful but seems too long an article to bother:
https://blogs.embarcadero.com/streamlining-rad-studio-upgrades-with-getit
Update all packages using the GetIt Package Manager from the command line (haven't tried if accurate): https://sl.bing.net/h1O77QAKlbw
If using GetIt command line tool under the hood probably it can return list of available updates so that one can opt to try to update all or uncheck some and proceed to update?
If you set DOubleBuffered property for your main form it won't flicker when resizing. As it it flickers quite a lot.
If you do not check any packages but still click the "Install checked" button the progress window claims that 0 of 2 packages are installed. The 2 seems a bit odd there... ;-)
...other than that: that tool's a good idea!
Now it works for 10.2.3
However, how do you filter for free paid and more?
Trying once more DOS COMMAND still running !!!
Compiling with D10.2.3
OK on the run button I added
if DosCommand.IsRunning then DosCommand.Stop;
And one more running under IDE can only see the installed
otherwise running a program without ide is OK.
Another one if the line is long of the component it goes to next line then you have a check box
which is not supposed to see
See Ribbon
Add print feature
While installing DOSCommand 2021.09-D11, it tries to compile the package but gets an MSBuild Error (unkown switch). It compiles and installs fine when run from Delphi's GetIt Package Manager.
When installing some demo or template projects (e.g. AppSettingsScreens), it uses the DEMOSDIR environment variable for the install path. This is defined when running within the Delphi IDE but not otherwise. Need to read the DEMOSDIR path from the registry and add it to the environment variables before installation.
Hi.
I've compiled with sucess in Delphi 10.3.3 CE and the GUI does not give any error when running.
However, after selected the packages to install via GetIt the first thing that happens is the deletion of a large number of files. Those files are related to TeeVCL....
Hi, thanks for this very helpful und easy to use tool!
When I download the list of packages for D11/Alexandria there are currently 6 extra entries with only text, that seem to come from extra linefeeds in the package description. Here's an example:
"VirtualTreeView-2021.09-11 2021.09 Delphi and CBuilder treeview control. It is one of the most flexible and advanced tree controls available today. Supported on platforms: Windows."
"Please, ensure that previous versions of VirtualTree are not installed before installing this library."
It's pretty easy to avoid that with adding just another condition to the procedure DosCommandNewLine():
"else if not FFinished and (Trim(ANewLine).Length > 0) then"
->
"else if ((not FFinished) and (Trim(ANewLine).Length > 0) and (ANewLine.Contains(' '))) then"
Then only entries are added if they contain a double space as separator for the different columns.
Hi David,
I am testing the API version but I was hoping that you avoid using third part components. I need Doscommand, raize components for a url label ?
And what are Beyond.Bind.Json, Beyond.Bind.StrUtils belong to ? I can not find results from google.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.