Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
e3e38b81
Commit
e3e38b81
authored
Dec 08, 2016
by
Paul Yang
Committed by
GitHub
Dec 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update commit id in Dockerfile to trigger update. (#2467)
parent
4474c042
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
9 deletions
+16
-9
Dockerfile
jenkins/docker/Dockerfile
+5
-1
Dockerfile
jenkins/docker32/Dockerfile
+1
-1
php_generator.cc
src/google/protobuf/compiler/php/php_generator.cc
+0
-3
tests.sh
tests.sh
+10
-4
No files found.
jenkins/docker/Dockerfile
View file @
e3e38b81
...
...
@@ -148,7 +148,11 @@ RUN php composer-setup.php
RUN
mv
composer.phar /usr/bin/composer
RUN
php
-r
"unlink('composer-setup.php');"
RUN
cd
/tmp
&&
\
cd
protobuf/php
&&
\
rm
-rf
protobuf
&&
\
git clone https://github.com/google/protobuf.git
&&
\
cd
protobuf
&&
\
git reset 46ae90dc5e145b12fffa7e053a908a9f3e066286
&&
\
cd
php
&&
\
ln
-sfn
/usr/bin/php5.5 /usr/bin/php
&&
\
ln
-sfn
/usr/bin/php-config5.5 /usr/bin/php-config
&&
\
ln
-sfn
/usr/bin/phpize5.5 /usr/bin/phpize
&&
\
...
...
jenkins/docker32/Dockerfile
View file @
e3e38b81
...
...
@@ -64,7 +64,7 @@ RUN php -r "unlink('composer-setup.php');"
RUN
cd
/tmp
&&
\
git clone https://github.com/google/protobuf.git
&&
\
cd
protobuf/php
&&
\
git reset
734930f9197b7bc97c3c794c7a949fee2a08c280
&&
\
git reset
46ae90dc5e145b12fffa7e053a908a9f3e066286
&&
\
ln
-sfn
/usr/bin/php5.5 /usr/bin/php
&&
\
ln
-sfn
/usr/bin/php-config5.5 /usr/bin/php-config
&&
\
ln
-sfn
/usr/bin/phpize5.5 /usr/bin/phpize
&&
\
...
...
src/google/protobuf/compiler/php/php_generator.cc
View file @
e3e38b81
...
...
@@ -214,9 +214,6 @@ std::string GeneratedMetadataFileName(const std::string& proto_file,
result
+=
UnderscoresToCamelCase
(
file_no_suffix
.
substr
(
start_index
,
first_index
-
start_index
),
true
);
result
+=
"/"
;
GOOGLE_LOG
(
INFO
)
<<
start_index
<<
" "
<<
first_index
;
GOOGLE_LOG
(
INFO
)
<<
file_no_suffix
.
substr
(
start_index
,
first_index
-
start_index
);
start_index
=
first_index
+
1
;
first_index
=
file_no_suffix
.
find_first_of
(
"/"
,
start_index
);
}
...
...
tests.sh
View file @
e3e38b81
...
...
@@ -327,6 +327,8 @@ build_jruby() {
build_ruby_all
()
{
build_ruby21
build_ruby22
# TODO(teboring): Disable jruby test temperarily for it randomly fails.
# https://grpc-testing.appspot.com/job/protobuf_pull_request/735/consoleFull.
build_jruby
}
...
...
@@ -386,10 +388,11 @@ use_php_bc() {
build_php5.5
()
{
use_php 5.5
c
d
php
push
d
php
rm
-rf
vendor
cp
-r
/usr/local/vendor-5.5 vendor
./vendor/bin/phpunit
popd
}
build_php5.5_c
()
{
...
...
@@ -405,10 +408,11 @@ build_php5.5_zts_c() {
build_php5.5_32
()
{
use_php_bc 5.5
c
d
php
push
d
php
rm
-rf
vendor
cp
-r
/usr/local/vendor-5.5 vendor
./vendor/bin/phpunit
popd
}
build_php5.5_c_32
()
{
...
...
@@ -419,10 +423,11 @@ build_php5.5_c_32() {
build_php5.6
()
{
use_php 5.6
c
d
php
push
d
php
rm
-rf
vendor
cp
-r
/usr/local/vendor-5.6 vendor
./vendor/bin/phpunit
popd
}
build_php5.6_c
()
{
...
...
@@ -453,10 +458,11 @@ build_php5.6_mac() {
build_php7.0
()
{
use_php 7.0
c
d
php
push
d
php
rm
-rf
vendor
cp
-r
/usr/local/vendor-7.0 vendor
./vendor/bin/phpunit
popd
}
build_php7.0_c
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment