I'm trying to create a fairly low-level change in Android source -- changing the package manger. I want to get the whole source using the repo tool described in source.android.com. I have a fork of the platform_frameworks_base project on github.
So, the question is how do I go about getting my platform_frameworks_base instead of the one provided by Android. I just want to be able to clone my own fork, create a branch in there and then push it in my own github. I can worry about pull requests to the main repo later.
Any help on the strategy/method of doing this?
p.s. My "workflow" is aimed to be similar to this: http://appanalysis.org/download.html
probably a bit late :) , but for the records, you might be want to take a look into this http://www.primianotucci.com/blog/fork-android-on-github
Related
Is there any way to have two people edit the same file under a Android project using Android Studio? Actually I am working with a team member where we need to edit the same file with she working on a certain part of the file while I work on another. I could use git but she is not much confident with git.
Thank you in advance :)
Use BitBucket it provides feature for private repositories, what GitHub provides with money.
I have recently started to look into android development (aosp) and read about "repo" tool/wrapper that takes care of all the android's sub projects .
While I think repo does a fairly good job at what it does, I wanted to know if there are any alternatives to it.
I thought git submodules are sufficient for this but many posts on internet discourage use of submodules ( due to some "drawbacks" which I feel are not drawbacks at all ).
Keeping in mind that the source code for different sub projects should have their own releases or indipendednt code bases I am not sure if git subtree is a good solution for this.
It would be great if someone can point out some alternatives to repo or any other information about this.
The repo tool is the standard way to work with AOSP code base. Sure you can manually manage the repos yourself but that is going to be rather tiresome and error prone.
Otherwise using submodules or subtrees won't let you inter-operate with Google and everyone else working on the AOSP codebase, so unless you are planning to do a one-way fork of AOSP there are no alternatives to the repo tool for working on AOSP.
repo has one huge disadvantage: it detaches HEADs. You can't switch to specific branch under specific subrepo. Unless you do repo start
tsrc, as far as I know, has less functionality but doesn't have this specific problem.
Also, you can use embedded mechanisms of build systems like Bazel (git_repository/new_git_repository).
I am working in a team to create an andorid application.Initially we worked on a particular single system for developing.
Problem is that we want to divide the work among all of the team members so that they can work on a particular section of the development in seperate systems.
But we dont know how to divide a project into different systems.Also we would like to know how to club these works together after completion to form the application.We are using eclpse for developing.
Please help us.We are having a great problem with this.
Please help us.
#user3285824 : You need a Revision Control or Source Control Tool. Please check out Apache Subversion which is the best tool to develop separate modules in eclipse with team members.
Follow the tutorial to install SVN in eclipse.
Use GIT repositories in a common server. There you can get your own copy of the project and you can modify your copy. Then you can update your changes in the server. Please refer to http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-Server
I have an existing Android project on which I have been working for a while, without using any source control (I know this is dumb).
Finally I have installed Subclipse, but am not sure
how to move my existing project to SVN using this plugin, and
where to host it?
Any pointers to this would be helpful. The Subclipse website is not very descriptive on how this can be done either.
Can someone please outline the steps for me?
I would recommend you to use Google Code for repository of your project. Other alternatives are SourceForge and gitHub (github is if you are using git, which is not your case) and many more. However, all the alternatives I share here are for open sourced projects and so they might not be the best fit for you. In all alternatives you have to register, then create a project (where you specify the license) and finally add your code.
As for how do you check in your project for the first time, I think this is good enough description.
If you don't wish to you use open source as pointed by Boris you can always host it yourself on your server.
Sourcerepo is another alternative and its only $3 approx, suppports svn, mercurial and git.
I am taking care of an open source project: mixare. It's an augmented reality browser released under the GPLv3.
The source code of the project is on github and I would like to hook the localization part to some web-service a-la pootle. If necessary I can install my own instance of a translation service on our server, but also an hosted solution would be fine. So I would like to know:
Is there a preferred translation web service that syncs using github's service hooks? Any best practice to share?
Thanks a lot!
Git integration is one of major reasons why I started to write Weblate. It also supports remote trigger for git pull using URL, so it nicely integrates with Github (you just need to put the URL there).
PS: I've just noticed that Android string resources are not supported by backend I use for loading translations (translate toolkit), so it probably won't work for you...
While I appreciate your wish for git support, shouldn't you primarily be looking for a solution that will give you many and good translations?
To get many translations I'd recommend Translatewiki, unfortunately their manual setup takes some time though.
Apart from Translatewiki, transifex seems to be one of the better and not least bigger (counting translators) services. They've made their own client that take care of importing and merging translations. For gettext translations it can also pull in updated template (pot) files automatically from github, I don't know if that's also possible with Android style translations.
Both Translatewiki and Transifex are 100% free and open source software.
I've been through the same "nothing good out there" phase, so I've started writing my own, as a symfony2 bundle. Maybe it's of use to you: https://github.com/tvogt/translator-bundle
Why? Because I couldn't get weblate or pootle to work, you probably have to be familiar with all the pip and python and ve and whatever stuff. Translatewiki is only for free software. Transifix is commercial.
In 2020, with GitHub Actions (hooks executed on GitHub side), you now have GitLocalize
GitLocalize is a continuous localization tool built for communities and teams that want to simplify their workflow when translating their content.
GitLocalize automatically keeps translations up to date by syncing with your repository.
That won't apply to the OP's project github.com/mixare/mixare, which was moved to GitLab in 2018.
But it can help other projects with a similar need.
You can have a look at Amanuens - it's able to sync with any Git repository, including Github. It's totally free for open-source projects (contact support for details). Disclaimer: it is my company's service.