Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

Update the migration docs #61

Merged
merged 1 commit into from
Jan 10, 2017
Merged

Update the migration docs #61

merged 1 commit into from
Jan 10, 2017

Conversation

Bwko
Copy link
Member

@Bwko Bwko commented Jan 7, 2017

This obsoletes #42

@lunny lunny added this to the 1.1 milestone Jan 8, 2017
* Download the file matching your platform from the [downloads page](https://dl.gitea.io/gitea)
* Unzip at the desired install location
* Copy Gogs `custom/conf` to Gitea
* Rename `custom/conf` to `custom/options`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong AFAIK

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Remove this line.

@Bwko
Copy link
Member Author

Bwko commented Jan 9, 2017

@lunny & @bkcsoft Fixed

@bkcsoft
Copy link
Member

bkcsoft commented Jan 9, 2017

@Bwko you complete left this part out though...

If you have custom content migrated from gogs/custom/ folder, like templates or localization files, you should manually merge these because these files changed on Gitea.

@bkcsoft bkcsoft mentioned this pull request Jan 9, 2017

Change gogs specific information:
* Download the file matching your platform from the [downloads page](https://dl.gitea.io/gitea)
* Unzip at the desired install location
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not zipped

Change gogs specific information:
* Download the file matching your platform from the [downloads page](https://dl.gitea.io/gitea)
* Unzip at the desired install location
* Copy Gogs `custom/conf` to Gitea
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And the stuff beside app.ini needs to be copied to options

@Bwko Bwko force-pushed the migrate branch 3 times, most recently from 6c0e2dd to 33cf545 Compare January 9, 2017 21:12
@Bwko
Copy link
Member Author

Bwko commented Jan 9, 2017

@tboerger & @bkcsoft Done (I hope 😉)

* Download the file matching your platform from the [downloads page](https://dl.gitea.io/gitea)
* Put the binary at the desired install location
* Copy `gogs/custom/conf/app.ini` to `gitea/custom/conf/app.ini`
* If you have custom content in `gogs/custom/` copy that to `gitea/custom/options`. This is used to override gitignores, labels, licenses, locales and readmes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gogs/custom/ -> gitea/custom/, no options?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gogs doesn't have a options folder

@Bwko Bwko force-pushed the migrate branch 3 times, most recently from 0e6b943 to ee1a06d Compare January 10, 2017 13:10
@lunny
Copy link
Member

lunny commented Jan 10, 2017

LGTM

* Download the file matching your platform from the [downloads page](https://dl.gitea.io/gitea)
* Put the binary at the desired install location
* Copy `gogs/custom/conf/app.ini` to `gitea/custom/conf/app.ini`
* If you have custom content in `gogs/custom/` copy that to `gitea/custom/options`. This is used to override gitignores, labels, licenses, locales and readmes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gogs/custom/conf got things like gitignores, licenses, labels and so on which needs to be copied to gitea/custom/options. Beside that gogs/custom/ can also include templates and public which needs to be copied to gitea/custom/.

* [log]
* ROOT_PATH = /home/:USER/gogs/log

[database]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just drop the whitepsace prefix and add ``` around it.


Update the gitea-v1.0.0/scripts file for your specific distro and environment then copy.
[database]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

* Add the service to the startup with: `sudo systemctl enable gitea`
* Disable old gogs startup script: `sudo systemctl disable gogs`

For distro's with open-rc:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SysVinit instead of open-rc?

@tboerger
Copy link
Member

LGTM

@tboerger tboerger merged commit f25ea09 into go-gitea:master Jan 10, 2017
@Bwko Bwko mentioned this pull request Jan 11, 2017
@Bwko Bwko deleted the migrate branch January 21, 2017 13:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants