Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 3.63 KB

README.md

File metadata and controls

36 lines (22 loc) · 3.63 KB

Wire™

This repository is part of the source code of Wire. You can find more information at wire.com or by contacting [email protected].

You can find the published source code at github.com/wireapp/wire.

For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.

If you compile the open source software that we make available from time to time to develop your own mobile, desktop or web application, and cause that application to connect to our servers for any purposes, we refer to that resulting application as an “Open Source App”. All Open Source Apps are subject to, and may only be used and/or commercialized in accordance with, the Terms of Use applicable to the Wire Application, which can be found at https://wire.com/legal/#terms. Additionally, if you choose to build an Open Source App, certain restrictions apply, as follows:

a. You agree not to change the way the Open Source App connects and interacts with our servers; b. You agree not to weaken any of the security features of the Open Source App; c. You agree not to use our servers to store data for purposes other than the intended and original functionality of the Open Source App; d. You acknowledge that you are solely responsible for any and all updates to your Open Source App.

For clarity, if you compile the open source software that we make available from time to time to develop your own mobile, desktop or web application, and do not cause that application to connect to our servers for any purposes, then that application will not be deemed an Open Source App and the foregoing will not apply to that application.

No license is granted to the Wire trademark and its associated logos, all of which will continue to be owned exclusively by Wire Swiss GmbH. Any use of the Wire trademark and/or its associated logos is expressly prohibited without the express prior written consent of Wire Swiss GmbH.

Usage

Creating a company repository

  1. git clone https://github.com/wireapp/wire-web-config-<company>.git
  2. git remote add upstream https://github.com/wireapp/wire-web-config-default.git
  3. git checkout -b master
  4. git fetch upstream && git merge upstream/master && git push origin --follow-tags

Update company repository

  1. First time only: git remote add upstream https://github.com/wireapp/wire-web-config-default.git
  2. Run yarn sync

Workflow: Add a new property

  1. Commit the new property (mentioning the related product in the commit message) to "wire-web-config-default" (example)
  2. Run yarn release:patch to create a new version (example). Please note that yarn release:prepatch is reserved for company config repos only.
  3. Open a specific company config repo (i.e. wire-web-config-wire) and run yarn sync inside of it. Most likely you will get a merge conflict because the "version" property in "package.json" has changed. Accept the "version" coming from the "upstream" / "theirs". Afterwards do a merge commit with message "chore: Sync" (example).
  4. Create a new version, this time using yarn release:prepatch, from the updated company config repo (example).