May we have changed files upgrade instead of full package?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
amphetamine
Posts: 87
Joined: Jun 04, 2019 7:17 pm

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: 7835
Joined: Mar 26, 2008 4:37 pm
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: 87
Joined: Jun 04, 2019 7:17 pm

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: 7835
Joined: Mar 26, 2008 4:37 pm
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: 87
Joined: Jun 04, 2019 7:17 pm

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: 861
Joined: Mar 11, 2006 11:08 am
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:

Post Reply