PINE64
Getting Android source under version control - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Android on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=5)
+--- Thread: Getting Android source under version control (/showthread.php?tid=644)



Getting Android source under version control - jonsmirl - 04-14-2016

If people are going to contribute code back to Pine, the source has to get under version control. Without version control is is chaos to contribute code back since you never know what to base it off from.

Currently you are posting tarballs...
http://wiki.pine64.org/index.php/Pine_A64_Software_Release#Linux_BSP_Related

Some places like Gitlab allow repos up to 10GB in size. Can someone from Pine get this code checked into a version control system?  Pine people need to do this so that you will be the owner of the accounts.

Maybe an Android expert can help out with this. If should be possible to do a reposync to the main AOSP repository and then apply only the deltas needed for Allwinner A64 and Pine support.  These device specific delta should be fairly small. Is someone experienced at turning these tarballs back into deltas against the AOSP repos?


RE: Getting Android source under version control - tllim - 04-14-2016

(04-14-2016, 03:38 PM)jonsmirl Wrote: If people are going to contribute code back to Pine, the source has to get under version control. Without version control is is chaos to contribute code back since you never know what to base it off from.

Currently you are posting tarballs...
http://wiki.pine64.org/index.php/Pine_A64_Software_Release#Linux_BSP_Related

Some places like Gitlab allow repos up to 10GB in size. Can someone from Pine get this code checked into a version control system?  Pine people need to do this so that you will be the owner of the accounts.

Maybe an Android expert can help out with this. If should be possible to do a reposync to the main AOSP repository and then apply only the deltas needed for Allwinner A64 and Pine support.  These device specific delta should be fairly small. Is someone experienced at turning these tarballs back into deltas against the AOSP repos?

Thanks on your advise and the Pine64 wiki page now kind of messy and not organized well. I will take in your suggestion and work with the wiki team on next week.


RE: Getting Android source under version control - xtacocorex - 04-15-2016

Having the A64 Kernel and Device code in a repo would be fine, that's how some Android ROMs work.  If that repo is able to be dropped right into AOSP, that's a win-win scenario for the community.


RE: Getting Android source under version control - jonsmirl - 04-15-2016

Odroid-C2 is a good example of an Android repository done right.
http://odroid.com/dokuwiki/doku.php?id=en:c2_building_android

NanoPi Android build is similar
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_2#Compile_Android

These giant tarballs are not a good way to distribute Android source. It is very painful to contribute changes to them or to apply security updates.


RE: Getting Android source under version control - tllim - 04-17-2016

(04-15-2016, 05:18 PM)jonsmirl Wrote: Odroid-C2 is a good example of an Android repository done right.
http://odroid.com/dokuwiki/doku.php?id=en:c2_building_android

NanoPi Android build is similar
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_2#Compile_Android

These giant tarballs are not a good way to distribute Android source. It is very painful to contribute changes to them or to apply security updates.

Noted and thanks on the example. We will review and make improvement on this week.