codebase

Azure external GIT deployment wont ask for credentials

烈酒焚心 提交于 2019-12-07 07:03:26
问题 I just create a website in Azure but i have problems while setting up the GIT deployment. I selected the "Set up deployment from source control" in the menu and picked type "External repository". At the moment i have all my repos at "codebase". So i selected an external GIT repo. The problem is that the creation wont ask for an username and/or password. Due this reason i have errors on the clone. DEPLOYMENT FAILED: woensdag 18 december 2013 14:22 Fetch from https://username.codebasehq.com

Organizing the source code base when mixing two or more languages (like Java and C++)

≯℡__Kan透↙ 提交于 2019-12-06 19:01:17
问题 I ran into a problem a few days ago when I had to introduce C++ files into a Java project. It started with a need to measure the CPU usage of the Java process and it was decided that the way to go was to use JNI to call out to a native library (a shared library on a Unix machine) written in C. The problem was to find an appropriate place to put the C files in the source repository (incidentally Clearcase) which consists of only Java files. I thought of a couple of alternatives: (a) Create a

Resources for learning how to better read code

雨燕双飞 提交于 2019-12-06 07:18:02
问题 I recently inherited a large codebase and am having to read it. The thing is, I've usually been the dev starting a project. As a result, I don't have a lot of experience reading code. My reaction to having to read a lot of code is, well, umm to rewrite it. But I need to bring myself up to speed quickly and build on top of an existing system. Do other people have techniques they've learned to absorb a code base? At this point, I'm just reading through the code. I've tried generating UML

Organizing the source code base when mixing two or more languages (like Java and C++)

不打扰是莪最后的温柔 提交于 2019-12-05 01:55:34
I ran into a problem a few days ago when I had to introduce C++ files into a Java project. It started with a need to measure the CPU usage of the Java process and it was decided that the way to go was to use JNI to call out to a native library (a shared library on a Unix machine) written in C. The problem was to find an appropriate place to put the C files in the source repository (incidentally Clearcase) which consists of only Java files. I thought of a couple of alternatives: (a) Create a separate directory for putting the C files (specifically, one .h file and one .c file) at the top of the

How to organize Windows Phone code base to target both 7.x and 8 platforms

最后都变了- 提交于 2019-12-04 06:17:24
I took over a Windows Phone project which was previously targeting WP 7.1 platform, and with the recent announcement of the new platform it should target WP 8 as well. My VS 2010 solution consists on several projects (Data access, Model, Tests and WP7 client app) and i am wandering on how to include support for WP8. I have to note that the code-base is not compatible with WP8, due to usage of Toolkit controls and other 3rd party libraries targeted for WP7.1 specifically. Also there is another problem with the Visual Studio versions - WP7.1 can work with VS 2010, but WP8 requires VS 2012.

Understanding a Large, Undocumented Set of Source Code? [closed]

大憨熊 提交于 2019-12-03 02:02:49
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . I have always been astonished by Wine. Sometimes I want to hack on it, fix little things and generally understand how it works. So, I download the Wine source code and right after that I feel overwhelmed. The codebase is huge and - unlike the Linux Kernel - there are almost

Running multiple sites from the same rails codebase?

跟風遠走 提交于 2019-12-03 01:22:06
问题 I have a client that wants to take their Rails app that has been successful in one niche and apply it to another similar niche. This new instance of the app is going to start out very similar: all the same functionality, different logo and colors. However, if the new site is successful it will inevitably need significant customizations that shouldn't be applied to the original site. At the same time, if bugs are fixed and improvements are made to one app, then both apps should be able to

Understanding a Large, Undocumented Set of Source Code? [closed]

白昼怎懂夜的黑 提交于 2019-12-02 17:11:28
I have always been astonished by Wine . Sometimes I want to hack on it, fix little things and generally understand how it works. So, I download the Wine source code and right after that I feel overwhelmed. The codebase is huge and - unlike the Linux Kernel - there are almost no guides about the code. What are the best-practices for understanding such a huge codebase? With a complex code base the biggest mistake you can make is trying to be a computer. Get the computer to run the code, and use a debugger to help find out what is going on. Figure out how to compile, install and run your own

Running multiple sites from the same rails codebase?

时光毁灭记忆、已成空白 提交于 2019-12-02 14:43:19
I have a client that wants to take their Rails app that has been successful in one niche and apply it to another similar niche. This new instance of the app is going to start out very similar: all the same functionality, different logo and colors. However, if the new site is successful it will inevitably need significant customizations that shouldn't be applied to the original site. At the same time, if bugs are fixed and improvements are made to one app, then both apps should be able to share those improvements. Can anyone suggest strategies or resources that address this issue? How do I keep

How to merge two seperate - yet similar - codebases into one SVN rep?

寵の児 提交于 2019-12-01 18:32:53
I have /var/www/cool_codebase on www.example.com AND I have /var/www/cool_codebase on www.example.net The codebases are for the same web app running on different servers. There is some specialisation between the codebases (client-specific bits and bobs etc) - but not too much. One codebase has files that the other doesn't and vice-versa. Some bits of programming are different too. I have downloaded each codebase to my localhost and my question is: How can I merge these two folders into one folder and then commit it as one "grand unified codebase" into my SVN? Should I put each codebase into