Version 5 Development > Plugin Design
Some suggestions to get the ball rolling
WeeboTech:
--- Quote from: BRiT on July 21, 2010, 10:10:22 AM ---
--- Quote from: bubbaQ on July 21, 2010, 07:06:06 AM ---When 5.0 came out, I needed to make a single small change to the php.ini file in the unraidWeb package. It took me 15 minutes since I had not been in there for a long time. Had it been a zip file, I could have done it in 30 seconds, by just clicking on the php.ini file, editing it, and saving it and winrar or winzip would have simply updated the package with the changed file.
--- End quote ---
It also could have been done in 30 seconds if you use 7Zip on your WinOS.
--- End quote ---
As fast as it may have been, does it compensate or assist with versions?
When an update is posted will it have a version or just the same name as always?
When you do a slackbuld script and you know you are going to update and release a version, you will most likely edit the script, update the version and run it.
There will be multiple files/versions and no mistake about.
BRiT:
Oh, I absolutely agree that all packages must be versioned. I think that's how installpkg/upgradepkg knows if a package should be upgraded or skipped and prevents reinstalls (unless forced).
And I was pointing out that the arguments for using .zip instead of .tgz/.txz being one related to speed are moot given the proper tools.
bubbaQ:
--- Quote ---If someone does or does not have internet access. I cannot worry about it.
They will need some access to start. There is no way around it.
--- End quote ---
A lot of unRAID servers don't have internet access... my production server does not..... The package manager I envision can download from the internet, or let you upload a package from your local Windows system via the web interface.
bubbaQ:
I posted a utility package in this thread:
http://lime-technology.com/forum/index.php?topic=7094.0
It includes a super-simple package manager for /boot/extra.
Joe L.:
--- Quote from: BRiT on July 21, 2010, 10:23:03 AM ---Oh, I absolutely agree that all packages must be versioned. I think that's how installpkg/upgradepkg knows if a package should be upgraded or skipped and prevents reinstalls (unless forced).
--- End quote ---
I'm not as sure it has that kind of embedded knowledge of versions... Slackware's installpkg is just a shell script that just uses tar on the uncompressed .tgz to overlay existing files, regardless of their relative versions.
--- Quote ---And I was pointing out that the arguments for using .zip instead of .tgz/.txz being one related to speed are moot given the proper tools.
--- End quote ---
true... does it really matter if it takes 5 seconds, or .5 seconds. Users will expect longer installation times for larger packages. (downloaded Window's SP1/SP2/SP3 lately... time is not measured in seconds... but potentially hours on a slow connection)
as far as internet connectivity, it is for that reason I display the download URL in the unMENU package manager. A user can click on the download link, download to their PC, move it to the unRAID server /boot/packages directory, and then the package manager will find it, verify the MD5, and use it without attempting to download it.
Of course, unMENU uses network connectivity to update its release list, so to use the current version of unMENU network connectivity is needed.
If the new package-manager on unRAID is going to do anything similar, to present to the user a list of currently available packages, or to alert a user when an update is available, then it will be necessary to have network connectivity. It will be running on unRAID 5.0, and if not able to get a list of packages to display, have nothing to show the user.
I think that bubbaQ is probably in the minority in that his production unRAID server is isolated from the web. (First, because most people only have a production server, and second, if they do, because their routers are not isolating it from the web, and third because to use the nntp servers, it must have connectivity ... unless you are running an nntp service on a different PC on your LAN and syncing to that.)
Personally, I have two unRAID servers, both have web access so I can use "wget" etc.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version