Re: [spice-protocol 1/4] build-sys: Import code generation files from spice-common

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> This is in preparation for shipping these files as part of
> spice-protocol, and allow spice-common to stop using spice-protocol as a
> submodule. The reason for moving them there is in order to be able to
> automatically regenerate enums.h when spice.proto changes.
> 
> This commit is just a placeholder so that a patch series can be sent.
> The actual commit is a merge commit of a repository created with git
> filter-branch on spice-common to only keep the relevant files:
> 
> git filter-branch \
>     --prune-empty \
>     --index-filter '
>         git ls-tree -z -r --name-only --full-tree $GIT_COMMIT \
>         | grep -z -v "^python_modules/" \
>         | grep -z -v "^spice.proto" \
>         | grep -z -v "^spice1.proto" \
>         | grep -z -v "^spice_codegen.py" \
>         | xargs -0 -r git rm -f --cached -r
>     ' \
>     -- \
>     --all
> 
> git filter-branch --force \
>     --prune-empty
>     --index-filter '
>         git rm -f spice-protocol --cached  --ignore-unmatch
>     ' \
>     -- \
>     --all
> ---
>  python_modules/Makefile.am     |   16 +
>  python_modules/__init__.py     |    0
>  python_modules/codegen.py      |  378 +++++++++++
>  python_modules/demarshal.py    | 1270 ++++++++++++++++++++++++++++++++++++
>  python_modules/marshal.py      |  427 ++++++++++++
>  python_modules/ptypes.py       | 1061 ++++++++++++++++++++++++++++++
>  python_modules/spice_parser.py |  162 +++++
>  spice.proto                    | 1388
>  ++++++++++++++++++++++++++++++++++++++++
>  spice1.proto                   |  943 +++++++++++++++++++++++++++
>  9 files changed, 5645 insertions(+)
>  create mode 100644 python_modules/Makefile.am
>  create mode 100644 python_modules/__init__.py
>  create mode 100644 python_modules/codegen.py
>  create mode 100644 python_modules/demarshal.py
>  create mode 100644 python_modules/marshal.py
>  create mode 100644 python_modules/ptypes.py
>  create mode 100644 python_modules/spice_parser.py
>  create mode 100644 spice.proto
>  create mode 100644 spice1.proto
> 

... omissis ...

Mainly a copy from spice-server to spice-protocol. Could you move the history of the files too ?

Frediano
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]