V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
loveminds
V2EX  ›  魅族

Flyme 在 Github 开源的代码根本没法用啊

  •  
  •   loveminds · 2015-07-03 07:33:39 +08:00 · 7198 次点击
    这是一个创建于 3435 天前的主题,其中的信息可能已经有所发展或是发生改变。

    [root@Yvonne flyme]# repo init -u https://github.com/FlymeOS/manifest.git -b lollipop-5.0
    gpg: keyring /root/.repoconfig/gnupg/secring.gpg' created gpg: keyring/root/.repoconfig/gnupg/pubring.gpg' created
    gpg: /root/.repoconfig/gnupg/trustdb.gpg: trustdb created
    gpg: key 920F5C65: public key "Repo Maintainer [email protected]" imported
    gpg: Total number processed: 1
    gpg: imported: 1

    Getting repo ...
    from git://codeaurora.org/tools/repo.git
    remote: Counting objects: 3090, done.
    remote: Compressing objects: 100% (954/954), done.
    remote: Total 3090 (delta 2082), reused 3090 (delta 2082)
    Receiving objects: 100% (3090/3090), 678.31 KiB | 492 KiB/s, done.
    Resolving deltas: 100% (2082/2082), done.
    From git://codeaurora.org/tools/repo

    [new branch] aosp-new/maint -> origin/aosp-new/maint
    [new branch] aosp-new/master -> origin/aosp-new/master
    [new branch] aosp-new/stable -> origin/aosp-new/stable
    [new branch] caf-stable -> origin/caf-stable
    [new branch] master -> origin/master
    [new branch] stable -> origin/stable
    [new tag] v1.10.4 -> v1.10.4
    [new tag] v1.12.16 -> v1.12.16
    [new tag] v1.12.22 -> v1.12.22
    [new tag] v1.6.8.1 -> v1.6.8.1
    [new tag] v1.7.5 -> v1.7.5 remote: Counting objects: 118, done. remote: Compressing objects: 100% (118/118), done. remote: Total 118 (delta 0), reused 118 (delta 0) Receiving objects: 100% (118/118), 36.22 KiB, done. From git://codeaurora.org/tools/repo
    [new tag] v1.0 -> v1.0
    [new tag] v1.0.1 -> v1.0.1
    [new tag] v1.0.2 -> v1.0.2
    [new tag] v1.0.3 -> v1.0.3
    [new tag] v1.0.4 -> v1.0.4
    [new tag] v1.0.5 -> v1.0.5
    [new tag] v1.0.6 -> v1.0.6
    [new tag] v1.0.7 -> v1.0.7
    [new tag] v1.0.8 -> v1.0.8
    [new tag] v1.0.9 -> v1.0.9
    [new tag] v1.1 -> v1.1
    [new tag] v1.10.0 -> v1.10.0
    [new tag] v1.10.1 -> v1.10.1
    [new tag] v1.10.2 -> v1.10.2
    [new tag] v1.10.3 -> v1.10.3
    [new tag] v1.11.0 -> v1.11.0
    [new tag] v1.11.1 -> v1.11.1
    [new tag] v1.12.0 -> v1.12.0
    [new tag] v1.12.1 -> v1.12.1
    [new tag] v1.12.10 -> v1.12.10
    [new tag] v1.12.11 -> v1.12.11
    [new tag] v1.12.12 -> v1.12.12
    [new tag] v1.12.13 -> v1.12.13
    [new tag] v1.12.14 -> v1.12.14
    [new tag] v1.12.15 -> v1.12.15
    [new tag] v1.12.17 -> v1.12.17
    [new tag] v1.12.18 -> v1.12.18
    [new tag] v1.12.19 -> v1.12.19
    [new tag] v1.12.2 -> v1.12.2
    [new tag] v1.12.20 -> v1.12.20
    [new tag] v1.12.21 -> v1.12.21
    [new tag] v1.12.3 -> v1.12.3
    [new tag] v1.12.3.1 -> v1.12.3.1
    [new tag] v1.12.4 -> v1.12.4
    [new tag] v1.12.5 -> v1.12.5
    [new tag] v1.12.6 -> v1.12.6
    [new tag] v1.12.7 -> v1.12.7
    [new tag] v1.12.8 -> v1.12.8
    [new tag] v1.12.9 -> v1.12.9
    [new tag] v1.2 -> v1.2
    [new tag] v1.3 -> v1.3
    [new tag] v1.3.1 -> v1.3.1
    [new tag] v1.3.2 -> v1.3.2
    [new tag] v1.4 -> v1.4
    [new tag] v1.4.1 -> v1.4.1
    [new tag] v1.4.2 -> v1.4.2
    [new tag] v1.4.3 -> v1.4.3
    [new tag] v1.4.4 -> v1.4.4
    [new tag] v1.5 -> v1.5
    [new tag] v1.5.1 -> v1.5.1
    [new tag] v1.6 -> v1.6
    [new tag] v1.6.1 -> v1.6.1
    [new tag] v1.6.10 -> v1.6.10
    [new tag] v1.6.10.1 -> v1.6.10.1
    [new tag] v1.6.10.2 -> v1.6.10.2
    [new tag] v1.6.2 -> v1.6.2
    [new tag] v1.6.3 -> v1.6.3
    [new tag] v1.6.4 -> v1.6.4
    [new tag] v1.6.5 -> v1.6.5
    [new tag] v1.6.6 -> v1.6.6
    [new tag] v1.6.7 -> v1.6.7
    [new tag] v1.6.7.1 -> v1.6.7.1
    [new tag] v1.6.7.2 -> v1.6.7.2
    [new tag] v1.6.7.3 -> v1.6.7.3
    [new tag] v1.6.7.4 -> v1.6.7.4
    [new tag] v1.6.7.5 -> v1.6.7.5
    [new tag] v1.6.8 -> v1.6.8
    [new tag] v1.6.8.10 -> v1.6.8.10
    [new tag] v1.6.8.11 -> v1.6.8.11
    [new tag] v1.6.8.2 -> v1.6.8.2
    [new tag] v1.6.8.3 -> v1.6.8.3
    [new tag] v1.6.8.4 -> v1.6.8.4
    [new tag] v1.6.8.5 -> v1.6.8.5
    [new tag] v1.6.8.6 -> v1.6.8.6
    [new tag] v1.6.8.7 -> v1.6.8.7
    [new tag] v1.6.8.8 -> v1.6.8.8
    [new tag] v1.6.8.9 -> v1.6.8.9
    [new tag] v1.6.9 -> v1.6.9
    [new tag] v1.6.9.1 -> v1.6.9.1
    [new tag] v1.6.9.2 -> v1.6.9.2
    [new tag] v1.6.9.3 -> v1.6.9.3
    [new tag] v1.6.9.4 -> v1.6.9.4
    [new tag] v1.6.9.5 -> v1.6.9.5
    [new tag] v1.6.9.6 -> v1.6.9.6
    [new tag] v1.6.9.7 -> v1.6.9.7
    [new tag] v1.6.9.8 -> v1.6.9.8
    [new tag] v1.7 -> v1.7
    [new tag] v1.7.1 -> v1.7.1
    [new tag] v1.7.2 -> v1.7.2
    [new tag] v1.7.3 -> v1.7.3
    [new tag] v1.7.3.1 -> v1.7.3.1
    [new tag] v1.7.4 -> v1.7.4
    [new tag] v1.7.4.1 -> v1.7.4.1
    [new tag] v1.7.4.2 -> v1.7.4.2
    [new tag] v1.7.4.3 -> v1.7.4.3
    [new tag] v1.7.6 -> v1.7.6
    [new tag] v1.7.6.1 -> v1.7.6.1
    [new tag] v1.7.7 -> v1.7.7
    [new tag] v1.7.7.1 -> v1.7.7.1
    [new tag] v1.7.7.2 -> v1.7.7.2
    [new tag] v1.7.7.3 -> v1.7.7.3
    [new tag] v1.7.7.4 -> v1.7.7.4
    [new tag] v1.7.7.5 -> v1.7.7.5
    [new tag] v1.7.7.6 -> v1.7.7.6
    [new tag] v1.7.8 -> v1.7.8
    [new tag] v1.7.8.1 -> v1.7.8.1
    [new tag] v1.7.8.2 -> v1.7.8.2
    [new tag] v1.8.0 -> v1.8.0
    [new tag] v1.8.1 -> v1.8.1
    [new tag] v1.8.2 -> v1.8.2
    [new tag] v1.9.0 -> v1.9.0
    [new tag] v1.9.1 -> v1.9.1
    [new tag] v1.9.2 -> v1.9.2
    [new tag] v1.9.3 -> v1.9.3
    [new tag] v1.9.4 -> v1.9.4
    [new tag] v1.9.5 -> v1.9.5
    [new tag] v1.9.6 -> v1.9.6 Getting manifest ... from https://github.com/FlymeOS/manifest.git remote: Counting objects: 10, done. remote: Compressing objects: 100% (8/8), done. remote: Total 10 (delta 2), reused 10 (delta 2), pack-reused 0 Unpacking objects: 100% (10/10), done. From https://github.com/FlymeOS/manifest
    [new branch] lollipop-5.0 -> origin/lollipop-5.0
    Your Name [root]: Yvonne Lu
    Your Email [root@Yvonne]: [email protected]

    Your identity is: Yvonne Lu [email protected]
    is this correct [y/n]? y

    Testing colorized output (for 'repo diff', 'repo status'):
    black red green yellow blue magenta cyan white
    bold dim ul reverse
    Enable color display in this user account (y/n)? y

    repo initialized in /root/flyme
    [root@Yvonne flyme]# repo sync
    fatal: '../FlymeOS/build.git' does not appear to be a git repository
    fatal: The remote end hung up unexpectedly
    error: Cannot fetch FlymeOS/build

    20 条回复    2015-07-04 09:54:12 +08:00
    RelativeLayout
        1
    RelativeLayout  
       2015-07-03 07:58:23 +08:00
    babyname
        2
    babyname  
       2015-07-03 09:00:20 +08:00
    来看头像的
    swjtutipo
        3
    swjtutipo  
       2015-07-03 09:44:21 +08:00
    头像不错啊
    ebony0319
        4
    ebony0319  
       2015-07-03 09:47:01 +08:00 via Android
    头像不错
    imlonghao
        5
    imlonghao  
       2015-07-03 09:54:14 +08:00 via Android
    请证实头像是你本人!
    @Livid
    theoractice
        6
    theoractice  
       2015-07-03 10:08:12 +08:00
    貌似是本人啊,你看她twitter
    hahasong
        7
    hahasong  
       2015-07-03 10:25:40 +08:00
    看位置是广东的?大神啊,一个设计居然还会码代码。那就是大女神,给跪了
    Livid
        8
    Livid  
    MOD
       2015-07-03 10:58:15 +08:00 via iPhone   ❤️ 1
    @imlonghao 请不要这么无聊。
    Niphor
        9
    Niphor  
       2015-07-03 11:45:23 +08:00
    来看头像的
    loveminds
        10
    loveminds  
    OP
       2015-07-03 13:40:00 +08:00
    @imlonghao 是的
    imlonghao
        11
    imlonghao  
       2015-07-03 13:42:01 +08:00 via Android
    @loveminds 我无聊了抱歉。
    loveminds
        12
    loveminds  
    OP
       2015-07-03 13:50:01 +08:00
    @RelativeLayout 谢谢,我试下
    welly
        13
    welly  
       2015-07-03 13:58:30 +08:00
    我是来看美女的
    clino
        14
    clino  
       2015-07-03 14:39:04 +08:00
    我这里是正常的

    我估计美女用的repo版本太低了,连 ../ 这种都不支持,升一个最新版的试试

    用这样试试:

    repo init -u https://github.com/FlymeOS/manifest.git -b lollipop-5.0 --repo-url=https://github.com/android/tools_repo
    RelativeLayout
        15
    RelativeLayout  
       2015-07-03 16:36:36 +08:00
    @loveminds work 了么?
    loveminds
        16
    loveminds  
    OP
       2015-07-03 21:54:47 +08:00
    @clino CentOS里带的版本估计比较低 我看看
    clino
        17
    clino  
       2015-07-03 23:11:14 +08:00
    @loveminds repo 是自己下载的吧,系统有预置吗? http://source.android.com/source/downloading.html
    lvxudong
        18
    lvxudong  
       2015-07-04 00:56:27 +08:00
    @clino repo只是个magic 脚本,repo真正的实现还是.repo/repo, 在 repo init 的时候会自动去下载最新的repo
    loveminds
        19
    loveminds  
    OP
       2015-07-04 09:15:33 +08:00
    @clino centos7.1 我的是预置的 不知道别人
    root@Yvonne [~/flyme]# cat /etc/redhat-release
    CentOS Linux release 7.1.1503 (Core)
    root@Yvonne [~/flyme]# uname -a
    Linux gratiae.utb.cc 4.1.0-x86_64-linode59 #1 SMP Mon Jun 22 10:39:23 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
    root@Yvonne [~/flyme]# repo --version
    repo version v1.7.5
    (from git://codeaurora.org/tools/repo.git)
    git version 1.8.3.1
    Python 2.7.5 (default, Jun 24 2015, 00:41:19)
    [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]
    clino
        20
    clino  
       2015-07-04 09:54:12 +08:00
    @loveminds http://source.android.com/source/downloading.html 看 To install Repo 这部分
    我看了一下 codeaurora 和 github 上的 repo 版本都很旧,还是用官方的方法吧,当然官方的方法可能要翻墙
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5198 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 09:40 · PVG 17:40 · LAX 01:40 · JFK 04:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.