[Solved] Help with setting up private testing server

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
djdrift2222
Newly Registered User
Posts: 10
Joined: 29 Feb 2012, 13:26

[Solved] Help with setting up private testing server

Post by djdrift2222 »

Hello,

I was just wondering if there was someone that knows where i can get the files needed to setup a private testing server for TMW if so where can i get them i have followed these steps with no avail Setting up tmwAthena on Windows
i keep getting an error 127 when it tries to get a file
Last edited by djdrift2222 on 03 Mar 2012, 02:42, edited 1 time in total.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: Help with setting up private testing server

Post by Crush »

That article is very outdated. The URL of the content Git repository has changed, for example. See http://wiki.themanaworld.org/index.php/Git_repository for the current URLs.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
djdrift2222
Newly Registered User
Posts: 10
Joined: 29 Feb 2012, 13:26

Re: Help with setting up private testing server

Post by djdrift2222 »

Crush wrote:That article is very outdated. The URL of the content Git repository has changed, for example. See http://wiki.themanaworld.org/index.php/Git_repository for the current URLs.
ok i got that now my next question

is the setup still the same i have tried it again with the new repository and i am still getting


$ make
lex -o src/map/magic-interpreter-lexer.c src/map/magic-interpreter-lexer.l
/bin/bash: lex: command not found
GNUmakefile:15: recipe for target `src/map/magic-interpreter-lexer.c' failed
make: *** [src/map/magic-interpreter-lexer.c] Error 127

and i still do not have a map-server nor the ladmin

i am getting really confused with this :?:
Frost
TMW Adviser
TMW Adviser
Posts: 851
Joined: 09 Sep 2010, 06:20
Location: California, USA

Re: Help with setting up private testing server

Post by Frost »

You're missing the lexical tool "lex." Cygwin offers a compatible tool called "flex," but does not make it available by the generic name lex. You need to install flex and add a link so the eAthena build process can find it.

Run the Cygwin setup.exe and in the search box at the top, type "lex".
Install the flex package.
Open a cygwin command prompt and type "ln -s flex /usr/bin/lex"
Try running make again.
You earn respect by how you live, not by what you demand.
-unknown
djdrift2222
Newly Registered User
Posts: 10
Joined: 29 Feb 2012, 13:26

Re: Help with setting up private testing server

Post by djdrift2222 »

Frost wrote:You're missing the lexical tool "lex." Cygwin offers a compatible tool called "flex," but does not make it available by the generic name lex. You need to install flex and add a link so the eAthena build process can find it.

Run the Cygwin setup.exe and in the search box at the top, type "lex".
Install the flex package.
Open a cygwin command prompt and type "ln -s flex /usr/bin/lex"
Try running make again.
Thx for that it was installed before i just didn't know that i had to activate it lol thx for the help much appreciated

Ok i am just going to break it down step by step

i am using this site

How to Develop

here is what i have done and what it has turned out

Owner@Owner-PC ~
$ mkdir ~/tmw-ea

Owner@Owner-PC ~
$ cd ~/tmw-ea

Owner@Owner-PC ~/tmw-ea
$ git clone git://gitorious.org/tmw-eathena/mainline.git eathena
Cloning into 'eathena'...
remote: Counting objects: 3954, done.
remote: Compressing objects: 100% (2666/2666), done.
remote: Total 3954 (delta 2878), reused 1929 (delta 1268)
Receiving objects: 100% (3954/3954), 4.34 MiB | 141 KiB/s, done.
Resolving deltas: 100% (2878/2878), done.
Owner@Owner-PC ~/tmw-ea
$ git clone --recursive git://github.com/themanaworld/tmwa-server-data.git eathena-data
Cloning into 'eathena-data'...
remote: Counting objects: 16164, done.
remote: Compressing objects: 100% (4514/4514), done.
remote: Total 16164 (delta 11564), reused 16132 (delta 11535)
Receiving objects: 100% (16164/16164), 3.06 MiB | 1.19 MiB/s, done.
Resolving deltas: 100% (11564/11564), done.
Submodule 'client-data' (git://github.com/themanaworld/tmwa-client-data.git) registered for path 'client-data'
Cloning into 'client-data'...
remote: Counting objects: 13133, done.
remote: Compressing objects: 100% (4858/4858), done.
remote: Total 13133 (delta 8313), reused 13017 (delta 8197)
Receiving objects: 100% (13133/13133), 51.41 MiB | 1.39 MiB/s, done.
Resolving deltas: 100% (8313/8313), done.
fatal: reference is not a tree: 78b6c9a39dc23e5bb568dc4da125d9ea50de1807
Unable to checkout '78b6c9a39dc23e5bb568dc4da125d9ea50de1807' in submodule path 'client-data'
Last edited by djdrift2222 on 01 Mar 2012, 11:06, edited 1 time in total.
djdrift2222
Newly Registered User
Posts: 10
Joined: 29 Feb 2012, 13:26

Re: Help with setting up private testing server

Post by djdrift2222 »

and to continue where i left off

Owner@Owner-PC ~/tmw-ea
$ cd eathena/

Owner@Owner-PC ~/tmw-ea/eathena
$ make
mkdir -p obj/login/
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/login/login.o src/login/login.c
mkdir -p obj/common/
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/common/core.o src/common/core.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/common/socket.o src/common/socket.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/common/timer.o src/common/timer.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/common/db.o src/common/db.c
src/common/db.c: In function ‘strdb_cmp’:
src/common/db.c:13:5: warning: ‘maxlen’ is deprecated (declared at src/common/db.h:53)
src/common/db.c:14:9: warning: ‘maxlen’ is deprecated (declared at src/common/db.h:53)
src/common/db.c: In function ‘strdb_hash’:
src/common/db.c:20:5: warning: ‘maxlen’ is deprecated (declared at src/common/db.h:53)
src/common/db.c: In function ‘strdb_init’:
src/common/db.c:37:5: warning: ‘maxlen’ is deprecated (declared at src/common/db.h:53)
src/common/db.c: In function ‘db_insert’:
src/common/db.c:342:13: warning: ‘release’ is deprecated (declared at src/common/db.h:51)
src/common/db.c:343:17: warning: ‘release’ is deprecated (declared at src/common/db.h:51)
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/common/lock.o src/common/lock.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/common/mt_rand.o src/common/mt_rand.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/common/md5calc.o src/common/md5calc.c
gcc -m32 -std=gnu99 obj/login/login.o obj/common/core.o obj/common/socket.o obj/common/timer.o obj/common/db.o obj/common/lock.o obj/common/mt_rand.o obj/common/md5calc.o -o obj/login/login
cp -f obj/login/login login-server
mkdir -p obj/char/
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/char/char.o src/char/char.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/char/inter.o src/char/inter.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/char/int_party.o src/char/int_party.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/char/int_guild.o src/char/int_guild.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/char/int_storage.o src/char/int_storage.c
src/char/int_storage.c: In function ‘inter_storage_final’:
src/char/int_storage.c:333:5: warning: ‘db_final’ is deprecated (declared at src/char/../common/db.h:85)
src/char/int_storage.c:334:5: warning: ‘db_final’ is deprecated (declared at src/char/../common/db.h:85)
gcc -m32 -std=gnu99 obj/char/char.o obj/char/inter.o obj/char/int_party.o obj/char/int_guild.o obj/char/int_storage.o obj/common/core.o obj/common/socket.o obj/common/timer.o obj/common/db.o obj/common/lock.o obj/common/mt_rand.o -o obj/char/char
cp -f obj/char/char char-server
mkdir -p obj/map/
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/map.o src/map/map.c
src/map/map.c: In function ‘map_readallmap’:
src/map/map.c:1742:9: warning: ‘grfio_size’ is deprecated (declared at src/map/../common/grfio.h:15)
src/map/map.c: In function ‘do_final’:
src/map/map.c:2082:5: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/map.c:2083:5: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/map.c:2084:5: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/map.c:2085:5: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/tmw.o src/map/tmw.c
lex -o src/map/magic-interpreter-lexer.c src/map/magic-interpreter-lexer.l
bison -d -o src/map/magic-interpreter-parser.c src/map/magic-interpreter-parser.y
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/magic-interpreter-lexer.o src/map/magic-interpreter-lexer.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/magic-interpreter-parser.o src/map/magic-interpreter-parser.c
src/map/magic-interpreter-parser.y: In function ‘magic_init’:
src/map/magic-interpreter-parser.y:1039:29: warning: assignment from incompatible pointer type
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/magic-interpreter-base.o src/map/magic-interpreter-base.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/magic-expr.o src/map/magic-expr.c
src/map/magic-expr.c: In function ‘make_area’:
src/map/magic-expr.c:207:21: warning: initialization from incompatible pointer type
src/map/magic-expr.c: In function ‘magic_get_fun’:
src/map/magic-expr.c:1264:14: warning: assignment discards qualifiers from pointer target type
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/magic-stmt.o src/map/magic-stmt.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/magic.o src/map/magic.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/chrif.o src/map/chrif.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/clif.o src/map/clif.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/pc.o src/map/pc.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/npc.o src/map/npc.c
src/map/npc.c: In function ‘do_final_npc’:
src/map/npc.c:2221:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/npc.c:2223:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/npc.c: In function ‘do_init_npc’:
src/map/npc.c:2267:5: warning: ‘release’ is deprecated (declared at src/map/../common/db.h:51)
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/chat.o src/map/chat.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/path.o src/map/path.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/itemdb.o src/map/itemdb.c
src/map/itemdb.c: In function ‘do_final_itemdb’:
src/map/itemdb.c:706:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/mob.o src/map/mob.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/script.o src/map/script.c
src/map/script.c: In function ‘parse_script’:
src/map/script.c:1496:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/script.c: In function ‘do_final_script’:
src/map/script.c:8100:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/script.c:8102:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/script.c:8104:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/script.c:8106:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/storage.o src/map/storage.c
src/map/storage.c: In function ‘do_final_storage’:
src/map/storage.c:82:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/storage.c:84:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/skill.o src/map/skill.c
src/map/skill.c: In function ‘skill_readdb’:
src/map/skill.c:11938:23: warning: initialization discards qualifiers from pointer target type
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/skill-pools.o src/map/skill-pools.c
src/map/skill-pools.c: In function ‘skill_name’:
src/map/skill-pools.c:45:9: warning: return discards qualifiers from pointer target type
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/atcommand.o src/map/atcommand.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/battle.o src/map/battle.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/intif.o src/map/intif.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/trade.o src/map/trade.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/party.o src/map/party.c
src/map/party.c: In function ‘do_final_party’:
src/map/party.c:40:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/map/guild.o src/map/guild.c
src/map/guild.c: In function ‘do_final_guild’:
src/map/guild.c:1906:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/guild.c:1908:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/guild.c:1910:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/guild.c:1912:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
src/map/guild.c:1914:9: warning: ‘db_final’ is deprecated (declared at src/map/../common/db.h:85)
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/common/grfio.o src/common/grfio.c
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/common/nullpo.o src/common/nullpo.c
gcc -m32 -std=gnu99 obj/map/map.o obj/map/tmw.o obj/map/magic-interpreter-lexer.o obj/map/magic-interpreter-parser.o obj/map/magic-interpreter-base.o obj/map/magic-expr.o obj/map/magic-stmt.o obj/map/magic.o obj/map/chrif.o obj/map/clif.o obj/map/pc.o obj/map/npc.o obj/map/chat.o obj/map/path.o obj/map/itemdb.o obj/map/mob.o obj/map/script.o obj/map/storage.o obj/map/skill.o obj/map/skill-pools.o obj/map/atcommand.o obj/map/battle.o obj/map/intif.o obj/map/trade.o obj/map/party.o obj/map/guild.o obj/common/core.o obj/common/socket.o obj/common/timer.o obj/common/grfio.o obj/common/db.o obj/common/lock.o obj/common/nullpo.o obj/common/mt_rand.o obj/common/md5calc.o -lm -o obj/map/map
cp -f obj/map/map map-server
mkdir -p obj/ladmin/
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/ladmin/ladmin.o src/ladmin/ladmin.c
gcc -m32 -std=gnu99 obj/ladmin/ladmin.o obj/common/md5calc.o obj/common/core.o obj/common/socket.o obj/common/timer.o obj/common/db.o obj/common/mt_rand.o -o obj/ladmin/ladmin
cp -f obj/ladmin/ladmin ladmin
mkdir -p obj/tool/
gcc -m32 -std=gnu99 -pipe -g -O2 -DFD_SETSIZE=4096 -DCYGWIN -c -o obj/tool/eathena-monitor.o src/tool/eathena-monitor.c
gcc -m32 -std=gnu99 obj/tool/eathena-monitor.o -o obj/tool/eathena-monitor
cp -f obj/tool/eathena-monitor eathena-monitor
P.S. sry for the long posts i am determined to figure this out lol
djdrift2222
Newly Registered User
Posts: 10
Joined: 29 Feb 2012, 13:26

Re: Help with setting up private testing server

Post by djdrift2222 »

Owner@Owner-PC ~/tmw-ea/eathena
$ cp login-server char-server map-server ladmin /usr/local/bin/

Owner@Owner-PC ~/tmw-ea/eathena
$ git config --global url.git@gitorious.org:.pushInsteadOf git://gitorious.org

Owner@Owner-PC ~/tmw-ea/eathena
$ cd ../eathena-data

Owner@Owner-PC ~/tmw-ea/eathena-data
$ ln -s ../../git/hooks/post-merge .git/hooks/

Owner@Owner-PC ~/tmw-ea/eathena-data
$ ln -s ../../../git/hooks/post-merge client-data/.git/hooks/
ln: accessing `client-data/.git/hooks/': Not a directory
djdrift2222
Newly Registered User
Posts: 10
Joined: 29 Feb 2012, 13:26

Re: Help with setting up private testing server

Post by djdrift2222 »

and last but not least
Owner@Owner-PC ~/tmw-ea/eathena-data
$ make conf
cp "login/conf/login_local.conf.example" "login/conf/login_local.conf"
cp "login/conf/ladmin_local.conf.example" "login/conf/ladmin_local.conf"
cp "login/save/gm_account.txt.example" "login/save/gm_account.txt"
cp "login/save/account.txt.example" "login/save/account.txt"
cp "world/map/conf/map_local.conf.example" "world/map/conf/map_local.conf"
cp "world/map/conf/battle_local.conf.example" "world/map/conf/battle_local.conf"
cp "world/map/conf/motd.txt.example" "world/map/conf/motd.txt"
cp "world/map/conf/help.txt.example" "world/map/conf/help.txt"
cp "world/map/conf/atcommand_local.conf.example" "world/map/conf/atcommand_local.conf"
cp "world/conf/char_local.conf.example" "world/conf/char_local.conf"

Owner@Owner-PC ~/tmw-ea/eathena-data
$ cd client-data

Owner@Owner-PC ~/tmw-ea/eathena-data/client-data
$ git checkout master
Checking out files: 100% (1511/1511), done.
Already on 'master'

Owner@Owner-PC ~/tmw-ea/eathena-data/client-data/music
$ git checkout master
Already on 'master'
Now can someone tell me if that looks right if not let me know what i did wrong plz i know i still need to edit the conf files to reflect my localhost but i just want to make sure that this part is correct i know how to edit files with ease i also run a private minecraft server so i am fluent in java also

again thx for any help
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: Help with setting up private testing server

Post by Crush »

The git hook installations seems to have failed, but you only need that when you want to contribute, and even then it's only optional AFAIK.

It seems like the rest worked properly.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
djdrift2222
Newly Registered User
Posts: 10
Joined: 29 Feb 2012, 13:26

Re: Help with setting up private testing server

Post by djdrift2222 »

Yes i found why i could not get my client to start was the main problem i forgot that my client is in a diff dir so again thx for the help if i have any questions i will post again

Atm everything is working fine now and i am now able to run a test server

And I Give Kudos to both Crush and Frost for the help now i also will be able to help out other people that are having issues with the server setup
djdrift2222
Newly Registered User
Posts: 10
Joined: 29 Feb 2012, 13:26

Re: Help with setting up private testing server

Post by djdrift2222 »

Also Crush can you change this thread to solved so other people can ref it if they need help thx again for the help
User avatar
Alige
TMW Adviser
TMW Adviser
Posts: 1398
Joined: 09 Jan 2010, 19:22

Re: Help with setting up private testing server

Post by Alige »

djdrift2222 wrote:Also Crush can you change this thread to solved so other people can ref it if they need help thx again for the help
You can do that by yourself by editing your first post, the one you made when opening this thread.
Image
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: Help with setting up private testing server

Post by o11c »

djdrift2222 wrote:
fatal: reference is not a tree: 78b6c9a39dc23e5bb568dc4da125d9ea50de1807
Unable to checkout '78b6c9a39dc23e5bb568dc4da125d9ea50de1807' in submodule path 'client-data'
This is a fatal error. Anything you did after this will be meaningless.

Did someone forget to push to client-data before pushing to server-data?
Former programmer for the TMWA server.
User avatar
Jenalya
TMW Adviser
TMW Adviser
Posts: 717
Joined: 22 Sep 2010, 19:28

Re: Help with setting up private testing server

Post by Jenalya »

o11c wrote:Did someone forget to push to client-data before pushing to server-data?
It seems that I pushed a commit in server-data with a wrong reference to client-data, but fixed that now. Sorry.
I'm not sure how that happened, but in the afterwards I assume that I didn't have the master branch checked out in client-data when I did the commit in server-data.
I wonder if it's possible to create a git hook that checks the remote client-data before allowing to push a server-data commit which modifies the submodule reference?
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: Help with setting up private testing server

Post by o11c »

Jenalya wrote:I wonder if it's possible to create a git hook that checks the remote client-data before allowing to push a server-data commit which modifies the submodule reference?
It's easily possible if you can put a pre-receive hook in the *remote* repository ... github controls that ... if you were doing it locally I think you can only do a pre-commit hook, which is undesirable in general because it might prevent forks and format-patch (but might be feasible for the few key people with push access)
Former programmer for the TMWA server.
Post Reply