Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2018-03-02 00:00:00Z and 2018-03-03 00:00:00Z
Avatar
@Learath2 I am
01:32
my patch?
Avatar
the git revision thing
Avatar
hm. probably using some py3-only stuff
Avatar
or did we break py2 long ago?
Avatar
how did it pass CI though?
Avatar
merhaba @Learath2 !
Avatar
@jao what's the benefit of the /mods?
Avatar
hi @Deleted User
01:34
@heinrich5991 maybe CI has py3?
Avatar
it's some old ubuntu version
01:34
doubt it has py3 as default
01:35
maybe cmake automatically prefers py3?
Avatar
players know whether there is a mod on the server and who it is
Avatar
a logged in mod
01:39
okay. I'm not sure what I would do with that info
01:39
nag the mod?
01:40
@Learath2 python2 scripts/git_revision.py works fine for me
01:41
can you give me the error?
Avatar
ask them for help (edited)
Avatar
I overwrote that terminal long ago :/
01:41
something about FileDoesntExist sth
Avatar
FileNotFoundError
01:42
?
Avatar
yeah that one maybe
Avatar
@Learath2 can't you regenerate the error?
Avatar
I'd need to rebreak my dockerfile 😛
01:49
well I did, give it a min until it builds
01:52
I managed to fill my entire harddisk with docker images
Avatar
@Learath2 does that translate to "I can't give you the error right now"?
Avatar
just need to wait couple seconds more
02:07
Traceback (most recent call last): File "/ddnet/scripts/git_revision.py", line 5, in <module> except (FileNotFoundError, subprocess.CalledProcessError): NameError: name 'FileNotFoundError' is not defined
02:07
@heinrich5991 ^^
Avatar
python --version?
02:10
@Learath2 ^
Avatar
it's not really easy to check
02:10
2.7.9
Avatar
docker run --rm <container> python --version
Avatar
the container didn't finish building because of the broken build command i have in there
Avatar
@Learath2 do you have git installed in the container?
02:15
apparently the except clause is only evaluated if an error occurs
Avatar
no git in the container
Avatar
then you'll get incomplete version info :/
02:17
but at least you found a bug like this
Avatar
@Learath2 ._. ^
Avatar
@heinrich5991 there seems to be a problem with out of tree builds
Avatar
out-of-tree builds?
Avatar
wait i'm not sure what's happening :/
Avatar
I've not done an in-tree build recently IIRC
Avatar
mkdir /build && cd build && cmake /ddnet fails with
02:53
fatal: Not a git repository (or any parent up to mount point /build) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Traceback (most recent call last): File "/ddnet/scripts/git_revision.py", line 5, in <module> except (FileNotFoundError, subprocess.CalledProcessError): NameError: name 'FileNotFoundError' is not defined
Avatar
have you seen my pull request?
Avatar
I meant the git part on top
Avatar
it should fix the error
02:54
second commit in the PR
02:54
the error message was not properly hidden
02:58
(git command should be called. if it errors, git revision is unset)
02:58
I'm going to sleep
02:58
good night
Avatar
I'm going to try finish this one 😛
Avatar
merge the PR 😛
02:59
it'll help
02:59
3610f0c Python 2 support for scripts/git_revision.py ... - heinrich5991
Avatar
oups, the wrong kind of merge
Avatar
now that commit message is unclear
03:00
I'm gonna force-push to master
Avatar
pls do
Avatar
[ddnet] Branch master was force-pushed to 458804c
Avatar
@heinrich5991 can i get osx sdk somewhere without xcode?
Avatar
eh
03:01
you mean automatically?
Avatar
no, for testing
Avatar
follow the instructions in the readme of the dependent project – you download xcode, but you don't need a mac
Avatar
guess I'll leave that one to tomorrow
Avatar
@Learath2 may I go to bed now? 😛
Avatar
yes you may
Avatar
good night 😃
Avatar
night
Avatar
docker build -t ddnet . docker run -v ~/ddnet/build:/build -it ddnet ./build-all.sh Currently only works for linux and windows. Will add mac, prepare bundles and close #997.
Avatar
damn, totally wasted my day on this
Avatar
1.3Tbps DDoS mitigated by our VAC, packet per packet .. (not with an ACL) 10000 source IPs, from 1608 AS
Retweets
102
Likes
153
Avatar
most sources looks like from chine
06:42
china*
Avatar
[ddnet/ddnet] New branch created: staging.tmp
14:41
ad99c58 Add /pausevoted and /specvoted - def- 964c683 [ci skip] -bors-staging-tmp-1058 - bors[bot]
14:41
1387ee9 Regenerate version file on git changes - heinrich5991 ad99c58 Add /pausevoted and /specvoted - def- fca8155 Merge pull request #1056 from heinrich5991/pr_d... - def- b285d77 Python 2 support for scripts/git_revision.py ... - heinrich5991 565f963 Properly hide stderr in scripts/git_revision.py - heinrich5991
Avatar
ad99c58 Add /pausevoted and /specvoted - def- e64919d Merge #1058 - bors[bot]
Avatar
spam of bors
Avatar
[quakenet] <heinrich5991> deen: brazil's port 53 is open
Avatar
[freenode] <nemo> are you guys fighting a DDoS again?
15:46
[quakenet] <heinrich5991> not that I'm aware of
15:46
[quakenet] <heinrich5991> but I'm sometimes not aware of that, so that's not a strong indicator
15:47
[quakenet] <Learath2> we always fight ddos :P
Avatar
[quakenet] <Learath2> what?
Avatar
[quakenet] <heinrich5991> fokkonaut: I don't know if there's the possibility
18:43
[quakenet] <heinrich5991> we can certainly introduce that if you want
Exported 101 message(s)