← Back to team overview

ubuntu-phone team mailing list archive

Re: [PATCH] platform manifest fetch URL

 

Hi,

Creating a new repo under mirror/manifest with master branch only
containing the attached file will allow creating a local mirror of the
phablet tree (passing reference is optional but helps share the majority of
git objects
with an AOSP mirror if you already have one locally)

$mkdir phabletmirror; cd phabletmirror
$repo init -u git://phablet.ubuntu.com/CyanogenMod/mirror/manifest --mirror
--reference /path/to/aospmirror
$repo sync

then

$mkdir phablet;cd phablet
$repo init -u /path/to/phabletmirror -b phablet-saucy
will check out a working tree of the phablet-saucy branch without accessing
the network.

The previous patch with the relative path will need applying to
phablet-10.1 before checking out with -b phablet-10.1 can take advantage of
a local mirror.

Jani


On Fri, Jul 26, 2013 at 4:32 PM, Jani Monoses <jani@xxxxxxxxxx> wrote:

> In order for the phablet repo to work when mirrored [1], the manifest
> used to checkout a working tree needs to use relative paths and not a
> hardcoded URL. This is what the AOSP manifests have as well.
>
> This patch applies to both the saucy and the phablet-10.1 branches.
>
> Jani
>
> [1] http://source.android.com/source/downloading.html#using-a-local-mirror
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>
<?xml version="1.0" encoding="UTF-8"?>
<manifest>

  <remote  name="phablet"
      fetch="../.." />

  <default revision="master"
           remote="phablet"
           sync-j="1" />

  <project name="CyanogenMod/android_build" />

  <project name="CyanogenMod/android" />
  <project name="CyanogenMod/mirror/manifest" />

  <project name="CyanogenMod/android_abi_cpp" />
  <project name="CyanogenMod/android_bionic" />
  <project name="CyanogenMod/android_bootable_diskinstaller" />
  <project name="CyanogenMod/android_bootable_recovery" />
  <project name="CyanogenMod/android_development" />
  <project name="CyanogenMod/android_device_common" />
  <project name="CyanogenMod/android_device_generic_armv7-a-neon" />
  <project name="CyanogenMod/android_device_generic_armv7-a" />
  <project name="CyanogenMod/android_device_generic_common" />
  <project name="CyanogenMod/android_device_generic_goldfish" />
  <project name="CyanogenMod/android_device_generic_mips" />
  <project name="CyanogenMod/android_device_generic_x86" />
  <project name="CyanogenMod/android_device_sample" />
  <project name="CyanogenMod/android_device_ti_panda" />
  <project name="CyanogenMod/android_device_lge_mako" />
  <project name="CyanogenMod/android_device_samsung_maguro" />
  <project name="CyanogenMod/android_device_samsung_manta" />
  <project name="CyanogenMod/android_device_samsung_tuna" />

  <project name="CyanogenMod/android_external_aac" />
  <project name="CyanogenMod/android_external_bouncycastle" />
  <project name="CyanogenMod/android_external_bsdiff" />
  <project name="CyanogenMod/android_external_busybox" />
  <project name="CyanogenMod/android_external_bzip2" />
  <project name="CyanogenMod/android_external_chromium" />
  <project name="CyanogenMod/android_external_e2fsprogs" />
  <project name="CyanogenMod/android_external_expat" />
  <project name="CyanogenMod/android_external_flac" />
  <project name="CyanogenMod/android_external_freetype" />
  <project name="CyanogenMod/android_external_gcc-demangle" />
  <project name="CyanogenMod/android_external_genext2fs" />
  <project name="CyanogenMod/android_external_giflib" />
  <project name="CyanogenMod/android_external_gpg" />
  <project name="CyanogenMod/android_external_gtest" />
  <project name="CyanogenMod/android_external_harfbuzz" />
  <project name="CyanogenMod/android_external_icu4c" />
  <project name="CyanogenMod/android_external_jhead" />
  <project name="CyanogenMod/android_external_jpeg" />
  <project name="CyanogenMod/android_external_kernel-headers" />
  <project name="CyanogenMod/android_external_liblzf" />
  <project name="CyanogenMod/android_external_libnl-headers" />
  <project name="CyanogenMod/android_external_libogg" />
  <project name="CyanogenMod/android_external_libpng" />
  <project name="CyanogenMod/android_external_libvpx" />
  <project name="CyanogenMod/android_external_mksh" />
  <project name="CyanogenMod/android_external_openssl" />
  <project name="CyanogenMod/android_external_protobuf" />
  <project name="CyanogenMod/android_external_safe-iop" />
  <project name="CyanogenMod/android_external_skia" />
  <project name="CyanogenMod/android_external_sonivox" />
  <project name="CyanogenMod/android_external_speex" />
  <project name="CyanogenMod/android_external_stlport" />
  <project name="CyanogenMod/android_external_strace" />
  <project name="CyanogenMod/android_external_tinyalsa" />
  <project name="CyanogenMod/android_external_tremolo" />
  <project name="CyanogenMod/android_external_webp" />
  <project name="CyanogenMod/android_external_webrtc" />
  <project name="CyanogenMod/android_external_wpa_supplicant_6" />
  <project name="CyanogenMod/android_external_wpa_supplicant_8" />
  <project name="CyanogenMod/android_external_wpa_supplicant_8_ti" />
  <project name="CyanogenMod/android_external_yaffs2" />
  <project name="CyanogenMod/android_external_zlib" />

  <project name="CyanogenMod/android_frameworks_av" />
  <project name="CyanogenMod/android_frameworks_base" />
  <project name="CyanogenMod/android_frameworks_native" />
  <project name="CyanogenMod/android_frameworks_opt_emoji" />

  <project name="CyanogenMod/android_hardware_broadcom_wlan" />
  <project name="CyanogenMod/android_hardware_cm" />
  <project name="CyanogenMod/android_hardware_invensense" />
  <project name="CyanogenMod/android_hardware_libhardware" />
  <project name="CyanogenMod/android_hardware_libhardware_legacy" />
  <project name="CyanogenMod/android_hardware_msm7k" />
  <project name="CyanogenMod/android_hardware_qcom_audio" />
  <project name="CyanogenMod/android_hardware_qcom_audio-caf" />
  <project name="CyanogenMod/android_hardware_qcom_bt" />
  <project name="CyanogenMod/android_hardware_qcom_camera" />
  <project name="CyanogenMod/android_hardware_qcom_display" />
  <project name="CyanogenMod/android_hardware_qcom_display-caf" />
  <project name="CyanogenMod/android_hardware_qcom_gps" />
  <project name="CyanogenMod/android_hardware_qcom_keymaster" />
  <project name="CyanogenMod/android_hardware_qcom_media" />
  <project name="CyanogenMod/android_hardware_qcom_msm8960" />
  <project name="CyanogenMod/android_hardware_qcom_power" />
  <project name="CyanogenMod/android_hardware_qcom_sensors" />
  <project name="CyanogenMod/android_hardware_qcom_wlan" />
  <project name="CyanogenMod/android_hardware_ril" />
  <project name="CyanogenMod/android_hardware_samsung_slsi_exynos5" />
  <project name="CyanogenMod/android_hardware_ti_omap3" />
  <project name="CyanogenMod/android_hardware_ti_omap4xxx" />
  <project name="CyanogenMod/android_hardware_ti_wlan" />
  <project name="CyanogenMod/android_hardware_ti_wpan" />

  <project name="CyanogenMod/android_libnativehelper" />

  <project name="CyanogenMod/android_packages_wallpapers_LivePicker" />

  <project name="platform/prebuilts/clang/linux-x86/3.1" />
  <project name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6" />
  <project name="platform/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3" />
  <project name="platform/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6" />
  <project name="platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6" />
  <project name="platform/prebuilts/misc" />
  <project name="platform/prebuilts/ndk" />
  <project name="platform/prebuilts/qemu-kernel" />
  <project name="platform/prebuilts/sdk" />
  <project name="platform/prebuilts/tools" />
  <project name="platform/prebuilts/linaro-4.7.2" />

  <project name="CyanogenMod/android_system_bluetooth" />
  <project name="CyanogenMod/android_system_core" />
  <project name="CyanogenMod/android_system_extras" />
  <project name="CyanogenMod/android_system_media" />
  <project name="CyanogenMod/android_system_security" />
  <project name="CyanogenMod/android_system_su" />
  <project name="CyanogenMod/android_system_vold" />
  <project name="platform/tools/build" />
  <project name="CyanogenMod/android_vendor_cm" />

  <project name="ubuntu/assets" />
  <project name="ubuntu/uchroot" />
  <project name="ubuntu/upstart-property-watcher" />
</manifest>

References