- Posts: 71
- Thank you received: 1
Kunena 6.1.3.2 Released
The Kunena team has announce the arrival of Kunena 6.1.3.2 [K 6.1.3] which is now available for download as a native Joomla extension for J! 4.2.x/4.3.x. This version addresses most of the issues that were discovered in K 6.1.0 and issues discovered during the last development stages of K 6.1
This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at
forum.joomla.org
Question Offtopic: Github /src/ folder - should i use this or not?
5 years 6 months ago #1
by shoulders
Hi
I was wondering if you guys can help me on this. I am currently writiing a CRM for myself which is php opensource and on github. I want to know how to set out my files in the repo. Currently they are all in the root.
I have seen some repos on github that use a /src/ folder to hold the actual files i.e. Kunena. Is this now a standard thing to put your files in a /src/ folder to keep things neat and allow external testers to read such files as composer.json, codeception.yml etc.....
Before I go any further I just want to work out wether I should leave everything in the root or like you guys put my CRM files in a /src/ folder.
If you could help that would be great.
Thanks
I was wondering if you guys can help me on this. I am currently writiing a CRM for myself which is php opensource and on github. I want to know how to set out my files in the repo. Currently they are all in the root.
I have seen some repos on github that use a /src/ folder to hold the actual files i.e. Kunena. Is this now a standard thing to put your files in a /src/ folder to keep things neat and allow external testers to read such files as composer.json, codeception.yml etc.....
Before I go any further I just want to work out wether I should leave everything in the root or like you guys put my CRM files in a /src/ folder.
If you could help that would be great.
Thanks
Please Log in or Create an account to join the conversation.
5 years 6 months ago #2
by 810
Replied by 810 on topic Offtopic: Github /src/ folder - should i use this or not?
we use the src dir for the main project, all extra dir are having extra functions, like tests for codeceptions test. scripts for developing like symlinks scripts to github clients ect.
The root files are for automatic clients like travis, sonar. Jorobo files are for joomla testing, which its needed by the tests dir.
Then we have .tx thats the translation script, who is merging from the github to the transifex.com website. So the translations are in sync with new strings.
.github is our template for github, there you can template the issue questions on github.
build dir, is our build script for building our components and plugins.
and the last one is docs, but thats a outdated documentation for kunena. we have a new branch for it.
The root files are for automatic clients like travis, sonar. Jorobo files are for joomla testing, which its needed by the tests dir.
Then we have .tx thats the translation script, who is merging from the github to the transifex.com website. So the translations are in sync with new strings.
.github is our template for github, there you can template the issue questions on github.
build dir, is our build script for building our components and plugins.
and the last one is docs, but thats a outdated documentation for kunena. we have a new branch for it.
The following user(s) said Thank You: shoulders
Please Log in or Create an account to join the conversation.
5 years 6 months ago - 5 years 6 months ago #3
by shoulders
Replied by shoulders on topic Offtopic: Github /src/ folder - should i use this or not?
@810
so if I was starting a new project you would put the main files in a /src/ file because it is neater and better than putting everything in the root?
Here is my project: github.com/shoulders/qwcrm :)
so if I was starting a new project you would put the main files in a /src/ file because it is neater and better than putting everything in the root?
Here is my project: github.com/shoulders/qwcrm :)
Last edit: 5 years 6 months ago by shoulders.
Please Log in or Create an account to join the conversation.
5 years 4 months ago #4
by shoulders
Replied by shoulders on topic Offtopic: Github /src/ folder - should i use this or not?
I am doing my own open source CRM. Would you recommend always putting the actual files in a /src/ folder?
Please Log in or Create an account to join the conversation.
5 years 4 months ago #5
by 810
Replied by 810 on topic Offtopic: Github /src/ folder - should i use this or not?
If you don't post any other code then your own code, then you don't need src dir.
But if you have docs or tests, then you can better use src dir.
But if you have docs or tests, then you can better use src dir.
The following user(s) said Thank You: shoulders
Please Log in or Create an account to join the conversation.
5 years 4 months ago #6
by shoulders
Replied by shoulders on topic Offtopic: Github /src/ folder - should i use this or not?
I found these links that may help other people along with your advice.
Folder Structure Conventions
github.com/kriasoft/Folder-Structure-Conventions
Directory structure for JavaScript/Node Projects
gist.github.com/tracker1/59f2c13044315f88bee9
Folder Structure Conventions
github.com/kriasoft/Folder-Structure-Conventions
Directory structure for JavaScript/Node Projects
gist.github.com/tracker1/59f2c13044315f88bee9
Please Log in or Create an account to join the conversation.
Time to create page: 0.625 seconds