CoIDE Manual V2.0

how to maintain a component

how to maintain the component you write

Summary

When we finish the development of the components,we may only developed the functions we need because of time limitation. However,once we find any bug that should be updated in the project, we must consider how to maintain the component.

Then comes the introduction of the way we maintain components in the second 1,use the tool GIT; 2, use the COIDE This two methods are different, if we retain the original project documents. When the program structure of components has a big change and it related to things about compile, we suggest you use COIDE to maintain. If the things we modify have no relation with compiling,like revising documents, we can use git to maintain component. If we couldn’t find component original file and it has been revised a lot, then we would use this two methods together.

use git to maintain a component

First, download component project document, find the specific component homepage under the option "component" in the official website [http://www.coocox.org]

COIDE_CH5_1_3_1

Use git to copy components in the pointed directory, notice to choose the address in http way.

COIDE_CH5_1_3_2

Revise component project documents: add a blank space in README.md. save after revise, we can see there is a little bit change about the icon. That is the change of the file.

COIDE_CH5_1_3_3

Upload component project file:

COIDE_CH5_1_3_4

Until now we finished a simple maintain about a component.

COIDE_CH5_1_1_1

use COIDE to maintain a component

Find the original project file, then click the button "setting "to enter submit interface. If you can’t find it , please follow method 1 to download it in the official website.

COIDE_CH5_1_1_1

When you enter into the setting interface, it will show "component homepage", "code submit page" "component publish page" automatically, once your mouse slides through the arrowhead. The homepage will be shown, when entering the page of setting.

COIDE_CH5_1_1_1

Then click "code"to enter code submit page. First, choose files need to be submitted or click "file name" button to choose all. After choosing files, click commit button, then the COIDE will show you a pop-up window to record modification information. Input information and click sure, you can submit it.

COIDE_CH5_1_1_3

Check component you submit. Click "Repository", then choose "view component repository", you can find the component you submit.

COIDE_CH5_1_1_4

**Notice: when you submit, you must guarantee the positions for logging in is in accordance with submitting, otherwise it would not be capable to see.

COIDE_CH5_1_1_5

Log in

COIDE_CH5_1_1_6

Without logging in

After submitting codes, we can choose whether publish component or not. And we need to set basic information of component before publishing.

COIDE_CH5_1_1_7

How to maintain others' component

It is almost the same with maintaining your own component. The only difference is that the start component is not the one created by yourself, but the one downloaded from fork.

COIDE_CH5_1_2_1