Page 1 of 1

May we have changed files upgrade instead of full package?

Posted: 09 Aug 2020, 04:46
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?

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

Posted: 09 Aug 2020, 10:43
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?

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

Posted: 09 Aug 2020, 13:15
by amphetamine
for quick hot fixed the issue, and easy to revert to previous version if updated have any issues.

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

Posted: 09 Aug 2020, 14:48
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?

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

Posted: 10 Aug 2020, 04:47
by amphetamine
moving/upload files in the shared host is taking too long especially for attachments and plugins

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

Posted: 10 Aug 2020, 15:13
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:

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

Posted: 29 Sep 2020, 17:11
by TerranceM
Certainly yes, I did it. not a whole lot of difference.