Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Guidelines
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Redmine
Redmine
Labels
Merge Requests
1
Merge Requests
1
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
External
Guidelines
Commits
44faa2b3
Commit
44faa2b3
authored
Dec 04, 2017
by
Jaroslav Bohmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data migration, view partials
parent
38af0dd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
DEV/README.md
DEV/README.md
+16
-0
No files found.
DEV/README.md
View file @
44faa2b3
...
...
@@ -175,6 +175,22 @@ It's **forbidden** to overwrite lang keys from Redmine or Easy Project.
All text
**must use**
I18n and must be translated at least to EN.
##### Active record migration
In Easy project we recognize 2 types of migrations, data and schema.
Schema migrations handle only changes to schema of database.
Data migrations which are always in
**db/data**
folder handle only changes of data.
Only exception if removal of db entities, eg. columns which could implemented in either type.
##### Overwriting of template / partial
One plugin can completely replace template / partial of plugin which loaded sooner. This pattern could be used
to implement changes, but only if you are rewriting more than 50 % of contents. In case of small addition create or use
[
hook
](
http://www.redmine.org/projects/redmine/wiki/Hooks
)
. Hook must be created in appropriate repository, generally in core.
##### Syntax checking
Syntax error is not tolerated. MR with syntax errors in one of the supported version of language is returned.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment