Author
Topic: Source code access. (Read 22552 times)

The source code for WeiDU is now managed via git. The repository is git://github.com/WeiDUorg/weidu.git (Web Interface). This post will be edited with actual instructions on how to install git, checkout the code, and submit your changes, once I find a readable tutorial.

Using git with a graphical user interface (probably easier for newbies, but if you're going to edit WeiDU you should really learn up on cygwin anyway):See this article.

Using git with cygwin (instructions can be adapted for OSX and Linux users pretty easily):This is how Taimon suggests to work:

1. I get updates from the main repos (your public repos), make changes locally, push them to my fork and send a pull request to you.You pull from my public to your local repos, check if everything is fine and push the changes to the main repos.

2. Instead of pushing to the fork, I directly push to your public repos (needs the contributor status)

Umm, I guess 1 is fine for occasional contributors and 2 is better for people who contribute more consistently (you, dev, and somebody else I guess).

Uh, whatever.

Like Wes before you, if I come up with it, you'll hear about it here. You guys can repo main and repo public and repo local and push and pull and fork and request. I'm sticking to "DO THIS PLEASE THANK YOU GBYE."

The fork process is a special github action.By clicking on the fork button you basically create your own public repository (that is somehow linked to the original project) and push your local changes into it.(Try something like `git remote add mypub git@github.com:username/weidu.git' and then `git push mypub'.)

The workflow is like this:setup:install cygwin, and the git and ssh package.register at github. Follow the instructions for setting up git and ssh and providing all the required info.Fork my github repository (via github)Via cygwin, create a new directory (for ex. WeiDU-devel), cd into it, and run `git init && git remote add mypub git@github:<username>/weidu.git'

I tested out github. Hope it worked. I think it did. Taimon sent me an e-mail saying that I didn't have to send requests for him to look at my edits.But I didn't do everything that was listed in the instructions. I just used the github website. Is that sufficient? Or do I need to figure out how to use the various offline programs? If it helps, the only thing I'd ever do is add new macros and/or functions and adjust the readme doc to include information about them. I'll leave the actual "weidu engine" alone...

Finally got msysgit to work. So now I should be able to add macros or functions to the appropriate tpp files, push the changes to my public repo and ask for them to be pulled.When I set it up I told it to use unix style line endings, it seemed the least confusing of all the options. Also, might solve some of the crlf issues I apparently had the last time I made some adjustments...