May we have changed files upgrade instead of full package?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
amphetamine
Posts: 113
Joined: 05 Jun 2019, 00:17

May we have changed files upgrade instead of full package?

Post by amphetamine »

for small upgrade 2.24.1 to 2.24.2

is it possible to provide changed files pack for small upgrade 2.24.1 to 2.24.2?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: May we have changed files upgrade instead of full package?

Post by atrol »

Certainly possible, but is it worth the effort to implement, test and maintain the additional packaging and installation mechanism?

The complete download is just about 15MB.
Are you asking because you want reduced size, or is there any other reason for that?
Please use Search before posting and read the Manual
amphetamine
Posts: 113
Joined: 05 Jun 2019, 00:17

Re: May we have changed files upgrade instead of full package?

Post by amphetamine »

for quick hot fixed the issue, and easy to revert to previous version if updated have any issues.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: May we have changed files upgrade instead of full package?

Post by atrol »

Upgrade to a minor version

- Download and unpack new mantis to folder new_mantis
- Copy config files from current_mantis to new_mantis
. Move current_mantis to old_mantis
- Move new_mantis to current_mantis

Revert to previous version in case of problems

- Move current_mantis to new_mantis
- Move old_mantis to current_mantis

I see no big difference in case you want the same with patched files instead of the full patches.
Am I missing something?
Please use Search before posting and read the Manual
amphetamine
Posts: 113
Joined: 05 Jun 2019, 00:17

Re: May we have changed files upgrade instead of full package?

Post by amphetamine »

moving/upload files in the shared host is taking too long especially for attachments and plugins
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: May we have changed files upgrade instead of full package?

Post by cas »

If you have your files on DISK you can also place the files outside Mantis itself. In that case there is no issue with attachments. Plugins are not an issue in my view.
So please ake a look at the following parameters:
$g_file_upload_method = DISK;
$g_absolute_path_default_upload_folder = 'G:/sites/scm/files/'; # used with DISK, must contain trailing \ or /.
Of course you need to ensure the webserver has access :mrgreen:
TerranceM
Posts: 26
Joined: 27 Aug 2019, 13:55
Location: USA

Re: May we have changed files upgrade instead of full package?

Post by TerranceM »

Certainly yes, I did it. not a whole lot of difference.
Post Reply