GithubHelp home page GithubHelp logo

libertang0 / itprojectllc-odoo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jakkritz/itprojectllc-odoo

0.0 0.0 0.0 71.43 MB

Python 29.31% JavaScript 51.07% HTML 14.47% CSS 5.14% Dockerfile 0.01%

itprojectllc-odoo's Introduction

addons-dev

Addons Forge

Typical development workflow:

  • Fork - once per person
  • Clone - once per computer
  • Create new branch - once per addon (or set of addons). For managers only, because push access is needed.
  • Get branch from upstream - once per addon
  • PR to addons-dev - as much as needed.
  • Merge PR to addons-dev - as much as needed. For managers only.
  • Final PR to target repo - once per addon
  • After accepting Final PR, addon is published at apps store automatically with a delay of up to 24 hours
  • Further updates - PRs are sent directly to target repo.

Fork

Click Fork button at top right hand corner

Clone

  • Clone your fork to your machine:

      git clone [email protected]:USERNAME/addons-dev.git
    
  • Add remotes

      cd addons-dev
    
      git remote add upstream          [email protected]:it-projects-llc/addons-dev.git
      git remote add misc-addons       https://github.com/it-projects-llc/misc-addons.git
      git remote add pos-addons        https://github.com/it-projects-llc/pos-addons.git
      git remote add mail-addons       https://github.com/it-projects-llc/mail-addons.git
      git remote add access-addons     https://github.com/it-projects-llc/access-addons.git
      git remote add website-addons    https://github.com/it-projects-llc/website-addons.git
      git remote add l10n-addons       https://github.com/it-projects-llc/l10n-addons.git
    

Create new branch

# specify target, repo and branch:
export REPO=misc-addons BRANCH=12.0 FEATURE=some_feature

# fetch remote
git fetch ${REPO}

# create new branch
git checkout -b ${REPO}-${BRANCH}-${FEATURE} ${REPO}/${BRANCH}

# push to upstream
git push upstream ${REPO}-${BRANCH}-${FEATURE}

# done

Get branch from upstream

# get branch from upstream
git fetch upstream misc-addons-12.0-some_feature
git checkout -b misc-addons-12.0-some_feature upstream/misc-addons-12.0-some_feature

PR to addons-dev

# work and make commits
git commit ...

# push to origin
git push origin misc-addons-11.0-some_feature

# create pull request via github interface to it-projects-llc/addons-dev repo

Final PR to target repo

# example for misc-addons
cd /path/to/misc-addons

# add remote if it doesn't exist yet
git remote add addons-dev https://github.com/it-projects-llc/addons-dev.git

# fetch remote
git fetch addons-dev misc-addons-12.0-some_feature

# create branch
git checkout -b 12.0-some-feature addons-dev/misc-addons-12.0-some_feature

# Sync with upstream
git fetch upstream
git rebase upstream/12.0

# push to your fork of target repo
git push origin 12.0-some-feature

# create PR to target repo

itprojectllc-odoo's People

Contributors

jakkritz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.