Foss lect 8 1 11.txt: Difference between revisions
kdes git plans linked |
mNo edit summary |
||
| Line 14: | Line 14: | ||
power of distributed development. | power of distributed development. | ||
Linux kernel is maintained with git. | There are two types of Version Control Systems. | ||
Centralized Version Control System. e.g. CVS | |||
Distributed Version Control System. e.g. git, bazzar | |||
Linux kernel is maintained with git. Git is Distributed Version Control System. | |||
In distributed version control system, we can work remote place by just cloning the code from server. We do not depend on the server every time. That is any one in the world can contribute to your code, even if there is no Internet connection (except at time of cloning and submission). This is principal of FOSS development. Git is designed to be fast for merging codes from developer's. | |||
In centralized version control system, we need to have Internet connection every time, when you want contribute. This is main disadvantage of it. | |||
What do we want from git? | What do we want from git? | ||
| Line 41: | Line 49: | ||
Bug-tracking system: on every project website. | Bug-tracking system: on every project website. | ||
Code Browsing tips by Abhijit Sir: | Code Browsing tips by Abhijit Sir: | ||
| Line 53: | Line 62: | ||
* Keep writing notes and draw diagrams of data structures. | * Keep writing notes and draw diagrams of data structures. | ||
Code Browsing tools: | |||
*cscope | |||
*ctags | |||
*doxygen | |||
After installing cscope and ctags. Go to directory in which source code is. | |||
$ctags *.c *.h | |||
Then actual code browsing can be done using cscope. | |||
$scope | |||
Then we can enter for e.g. function which we want to find, in which file it is? after entering function name, press enter. Cscope will list the names of files in which it has found that function. We can go through that file by pressing enter on that file name. | |||
Hyphenation Session by Shravan: | Hyphenation Session by Shravan: | ||
Hyphenation dictionary has all the rules. | Hyphenation dictionary has all the rules. | ||