Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5111 Lượt xem

Hi there, I am trying to figure out how to version control Odoo. I have cloned the GitHub repo with the source files, installed the required modules and ran the setup.py. 

I now have a running version of Odoo on my local machine and I tried to upload everything onto GitHub but keep running into " pack exceeds maximum allowed size". 

How do you other devs version control your Odoo? I am mainly interested in using the E-learning platform, are there perhaps only specific files that I need to version control, like modules?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Answer for anyone who stumbles across this in the future: This was to do with how GitHub handles pushes by creating 'packs' -> The repo was too large and the fix was to either push in two parts, or much easier, simply fork from the official Odoo repo!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Probably by adding odoo as a (git) submodule. Then you add your own module into a different folder. Make sure that they are part of the odoo addons path (by modyfing the odoo config file if necessary) 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 16
4503
1
thg 8 15
4136
2
thg 3 15
8307
1
thg 10 24
26984
1
thg 1 20
6703