Is there a sub-version for CI_VERSION, if not why not :) |
11-27-2021, 07:17 PM
(This post was last modified: 11-27-2021, 07:48 PM by John_Betong. Edit Reason: Updates SYSTEM_PATH )
I'm under the impression that GitHub latest version can be downloaded from:
https://github.com/codeigniter4/CodeIgniter4 There are other methods to download the latest version into my mirrored /var/www/ Online path: Question: Are all these versions the same and is there a CI_SUB_VERSION 1. Linux Command Line: git clone https://github.com/codeigniter4/CodeIgniter4.git Code: $paths ==> Config\Paths Object 2. Github Zip: https://github.com/codeigniter4/CodeIgni...evelop.zip // not tried 3. Composer: composer create-project codeigniter4/appstarter /var/www/CodeIgniter4 Code: $paths ==> Config\Paths Object Edit: I've just downloaded the GitHub and Composer Versions and noticed the vast change in $paths!!!! A lot of my sites are going to break because of the SYSTEM_PATH changes ![]()
1. git clone https://github.com/codeigniter4/CodeIgniter4.git
2. https://github.com/codeigniter4/CodeIgni...evelop.zip These are the same code at a moment. It is developing code base. 3. composer create-project codeigniter4/appstarter /var/www/CodeIgniter4 It is from https://github.com/codeigniter4/framework codeigniter4/framework is kind of a snapshot from codeigniter4/CodeIgniter4 at the release point.
(11-27-2021, 10:25 PM)kenjis Wrote: 1. git clone https://github.com/codeigniter4/CodeIgniter4.git So no CI_SUBVERSION ![]() (11-27-2021, 10:46 PM)John_Betong Wrote:(11-27-2021, 10:25 PM)kenjis Wrote: 1. git clone https://github.com/codeigniter4/CodeIgniter4.git
There is no CI_SUB_VERSION. CI_VERSION is updated only when releasing.
What do you want to know if CI_SUB_VERSION exists? If you use git, git commit hash is a version. It is 0dbdc1ac44b667f7bce97bdd17be2a941fd68b8a now. https://github.com/codeigniter4/CodeIgni...941fd68b8a
@kenjis,
> What do you want to know if CI_SUB_VERSION exists? I recently reported a CI4 Bug but it could not be replicated because the tester used the Composer Version which differs from the the GitHub version. Edit: The GitHub commit hash is meaningless and I would prefer a trailing date: CI_VERSION = 4.1.5-2021-11-28
Basically, I use the latest develop branch in codeigniter4/CodeIgniter4 repository.
It is the latest development code. If a bug can't be reproduced on it, it is probably fixed already. When you report a bug, if you use codeigniter4/CodeIgniter4 repository, the commit hash is most accurate version. If you show it, we can know the date and time. `4.1.5-2021-11-28` is a bit confusing. Because there is only one 4.1.5 code base. If one commit is added to it, it is not 4.1.5. `develop 2021-11-28` or just `develop` is better.
Like @kenjis I also always use the develop brach of the framework.
I check the commit date and time to know if I should update my version. But a sub-version date would be nice. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |