Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idl: fix recompile_thrift.sh & script: add format_files.sh #205

Merged
merged 5 commits into from
Nov 2, 2018

Conversation

vagetablechicken
Copy link
Contributor

No description provided.

qinzuoyan
qinzuoyan previously approved these changes Nov 1, 2018
mentoswang
mentoswang previously approved these changes Nov 1, 2018
@neverchanje
Copy link
Contributor

neverchanje commented Nov 1, 2018

good job! but linenoise and sds should be excluded from clang-format, it's a thirdparty code, we should keep its code style.

@@ -0,0 +1,16 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format_files.sh, we use userline for file name

sh $DSN_ROOT/bin/dsn.cg.sh rrdb.thrift cpp $TMP_DIR
cp -v $TMP_DIR/rrdb.types.h ../include/rrdb/
$DSN_ROOT/bin/Linux/thrift --gen cpp:moveable_types -out $TMP_DIR rrdb.thrift
#cp -v $TMP_DIR/rrdb.types.h ../include/rrdb/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove out the commented codes

neverchanje
neverchanje previously approved these changes Nov 1, 2018
qinzuoyan
qinzuoyan previously approved these changes Nov 1, 2018
@vagetablechicken
Copy link
Contributor Author

@neverchanje already exclude rocksdb/,linenoise/,sds/ from formating

@neverchanje neverchanje changed the title idl: fix recompile_thrift.sh & script: add format-files.sh idl: fix recompile_thrift.sh & script: add format_files.sh Nov 2, 2018
@neverchanje neverchanje merged commit 2544463 into apache:master Nov 2, 2018
neverchanje pushed a commit to neverchanje/pegasus that referenced this pull request Jul 13, 2019
Former-commit-id: ea5edf13a0d9d9b8e05013b5e2008a88141ba53e [formerly 2544463]
Former-commit-id: 28fc55e542626308088b1db739bdb4309adace9c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants