Welcome Guest, Not a member yet? Register   Sign In
Better update routine?
#7

(09-19-2017, 01:54 PM)Narf Wrote:
(09-19-2017, 10:19 AM)blaasvaer Wrote:
(09-19-2017, 12:39 AM)Narf Wrote: Git is a bad idea for this; use Composer.

But how would I do that? I seem to be changin' a lot of lib files and what have you that is dropped all over the place into application folder, lib folder, third party folder etc.. How do I make sure I can update CI wihout overriding the changes I've made to any file. I thought Composer was just simply a package manager ... !?

I don't quite get what the problem is ...

Are you modifying framework files? You should never do that.

Anything you do under application/, third_party/, etc. is your own business. system/ is the only dir you need to change during an update.


But that's exactly my point. In application you have all the config, routing etc. that you usually modify. You add modules and stuff to that application folder, and then when any of those (config files, libraries etc) gets updated you manually have to copy/paste lines of code from your modified files back into the updated ones.

I know that you shouldn't touch the system folder for that same reason, BUT the reality is, that the same actually goes for the larger part of the application folder ... and that's to be honest a little misleading. Now image, that the »system« somehow checked for - let's say - a config.php file in some directory, let's call it user_app, for the lack of creativity. The system could then somehow merge that config with its own ... and when stuff gets updated, you simply dump a clean application folder into the root leaving your user_app (which is TOTALLY your own code) untouched.

Am I really the only person who think it's weird that system shouldn't be touched but changing stuff in application is ok. To me they look much the same in the sense that they contain stuff that potentially gets updated by the CodeIgniter team ...
Reply


Messages In This Thread
Better update routine? - by blaasvaer - 09-18-2017, 09:00 AM
RE: Better update routine? - by Narf - 09-19-2017, 12:39 AM
RE: Better update routine? - by blaasvaer - 09-19-2017, 10:19 AM
RE: Better update routine? - by Paradinight - 09-19-2017, 11:10 AM
RE: Better update routine? - by blaasvaer - 09-19-2017, 12:35 PM
RE: Better update routine? - by Narf - 09-19-2017, 01:54 PM
RE: Better update routine? - by blaasvaer - 09-19-2017, 02:05 PM
RE: Better update routine? - by Narf - 09-20-2017, 02:38 AM
RE: Better update routine? - by ciadmin - 09-19-2017, 03:21 PM
RE: Better update routine? - by blaasvaer - 09-20-2017, 12:41 AM
RE: Better update routine? - by InsiteFX - 09-20-2017, 03:08 AM
RE: Better update routine? - by spjonez - 09-20-2017, 06:40 AM
RE: Better update routine? - by rtenny - 09-20-2017, 07:50 AM
RE: Better update routine? - by Kaosweaver - 09-21-2017, 05:53 AM
RE: Better update routine? - by Narf - 09-22-2017, 11:42 AM
RE: Better update routine? - by PaulD - 09-22-2017, 03:20 PM
RE: Better update routine? - by Narf - 09-25-2017, 02:07 AM
RE: Better update routine? - by rtenny - 09-21-2017, 08:15 AM
RE: Better update routine? - by PaulD - 09-21-2017, 08:23 AM
RE: Better update routine? - by rtenny - 09-22-2017, 03:39 AM
RE: Better update routine? - by PaulD - 09-27-2017, 03:05 PM
RE: Better update routine? - by Kaosweaver - 09-25-2017, 08:24 AM
RE: Better update routine? - by PaulD - 09-25-2017, 10:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB