last day (27 days later) » 

7:00 PM
You don't have to.
 
$ hg clone https://username@bitbucket.org/clounge/your-fork
 
You already got paths done.
 
kk so no cloning needed
 
Master and your fork are currently identical.
Rule is: pull from master, push to default.
 
yes, makes sense
 
7:01 PM
I've changed permissions on master, so most of you can't push there accidentally.
 
ok I think mine is set up
@CatPlusPlus good idea :)
 
so the model is: There's master "the-game" that holds all the shared shit already, I pull changed from it and then my fork acts as a middle man between my workspace here and and the master, the master will be pulling from my fork
 
Also always pay attention to what you're doing, and use incoming/outgoing.
 
I push to my fork, master pulls from my fork.
 
@ScarletAmaranth Yes.
 
7:02 PM
And i pull from master if i want an update on the total status.
 
@ScarletAmaranth yup
 
Great, thanks.
 
For that, you go to the master's page and click "create pull request", choose your fork and enter description and crap.
Then we look over it, and @thecoshman or whoever will be in charge of that that day approves it.
 
Now I wonder how will we go about building the thing so that I can see what I've done before I actually push it to my utencil.
 
@ScarletAmaranth Here's an example of a pull request: bitbucket.org/clounge/the-game/pull-request/1/…
 
7:03 PM
And then everyone who doesn't have those changesets pulls from master.
 
How do I fork the repo?
 
Click 'fork'.
 
@Pubby visit it in BB, click fork. Be sure to select "clounge" as user.
 
@RadekSlupik I don't know how to visit it. Everything I see says "access denied".
 
But I don't want to be pushing stuff even to my fork before I actually review it myself (compiles, works, possibly I'll do my own testing), so I want a working build, I hope that will be possible ?
 
7:04 PM
@Pubby You have to be on the team account, and we currently cannot add anyone else. :(
 
Hmm.
 
@ScarletAmaranth If you don't push, it won't be pushed.
 
Damn, so I can't help? Aw well.
 
The thing is, I don't want to push stuff I haven't tested, and that will be impossible unless I have a working build, well, unless it's without side effects, obviously.
 
@ScarletAmaranth I think you can create a fork of your fork and use that for developement
 
7:06 PM
Or branch inside it.
Or just maintain several local branches. Or clones.
 
who the hell is Ahsan?
 
No clue
 
no idea
 
@Ahsan hey man what's up.
4 hours ago, by Radek Slupik
We're currently working on a super secret black project, please don't disturb.
 
@ScarletAmaranth You can just not push until you're confident it's good.
 
7:07 PM
Anyway, the question is still unanswered :( I hope I will be able to build the whole thing right here so that I can test the changes before I push even to my own sodding fork ?
 
commit != push
 
Main room's here:

Lounge<C++>

Today we're daydreaming about C++26 reflection
 
When you commit, the changes are saved on your machine.
You need to push whenever you want them to be online.
 
Having your fork broken is fine, the no-red rule is about master only.
I'm setting up a Buildbot, so you'll probably want to push as often as possible, to see if it builds on every configuration.
 
Ok, but how can I know whether my shit works if I can't test it (should I be unable to build the WHOLE thing myself).
 
7:09 PM
Well, within reason.
 
If you come from a Subversion world, DVCS is a bit of a pain to get used to. Just try it and make sure you don't clone master directly.
 
You can test it.
 
How if it relies on side effects and I don't have the whole project ?
 
@ScarletAmaranth Just push to your own fork. Doesn't matter if it doesn't work.
 
You have the whole project.
 
7:10 PM
that's what i've been asking :D
 
As long as you don't create a pull request if it doesn't work, it's fine.
 
So i will be able to build the whole thing myself here on my sodding computer! :)
And you will not pull automatically from my fork, you will wait for me to actually make "a pull request" which will tell you that my shit is ready for you to get pulled to master, right ?
 
Yup.
 
Other people might pull from you if they want.
 
this is much more complicated than keeping files with dates on my disc :D :D
 
7:12 PM
Maybe, but it works a gazillion times better when working with multiple people.
 
@ScarletAmaranth but sooo much better
 
yeah im sorry btw, i've never worked on anything bigger, so I don;t know this version control shit
 
I created a pull request with Desktop.ini and that crap added to the .hgignore file.
Also for Mac OS X. I don't know what Linux shells add, though.
 
@RadekSlupik I'll probably do most of my development on Linux, so I can add it as I run into things
 
kcool
 
7:18 PM
@RadekSlupik But, probably not much beyond the standard *.o *.exe, appname, etc
 
Ignoring object and executable files shouldn't be needed
 
If anybody uses Emacs, add ~* and #*# to the .hgignore file. xD
 
@CatPlusPlus out of source builds?
 
I'll create the Info.plist file for Mac OS X.
 
I usually put it into build/ subdir or something like that.
Makes everything tidier.
 
7:20 PM
It is nice
 
So, with every pull or preview, I'm gonna have to type my trillion symbols long password ... ?
 
Use SSH.
 
@ScarletAmaranth Use a password database like a sane person.
 
Yeah, set up SSH keys, you won't have to type any passwords
 
@DeadMG It's a personal challenge of mine to remember tens of passwords for different services ^^
 
7:23 PM
have fun with that challenge, I tried that for a while, didn't work very well
 
@TonyTheLion Been working out well for me for quite some time now :)
 
oh nice :)
I hate it when I do the wrong smiley face
 
Can $ hg push show me a list of things I push?
 
it sucks :(
 
Oh got it. --verbose.
 
7:25 PM
@RadekSlupik Do hg outgoing first.
 
Oh ok.
Platform-specific stuff in /Windows, /Linux and /OSX?
 
Many people try to come in, I see.
 
They don't read the pinned messages. Bastards.
room topic changed to Kyrostat: Space bacon for anyone who participates. (no tags)
Now they won't come in anymore.
 
Well, this is still a public chat :)
 
It's a gallery.
 
7:29 PM
public ;)
 
it's a gallery
 
1 min ago, by Radek Slupik
It's a gallery.
 
it's a gallery
 
Hey @DeadMG. Built stuff in /build?
Oh wait that doesn't matter.
Meh.
It's not committed anyway.
 
7:33 PM
One way:
- build/ -- binaries, temps, and other buildable crap
- src/ -- sources
  + platform/ -- platform glue
    + windows/
    + linux/
    + osx/
  + game/ -- game itself
  + ... some additional stuff that might come up ...
- vendor/
  + ... included third party libs, maybe ...
- data/ -- non-source data
 
Oh osx ok. I did OSX.
How can I change capitalization in Hg?
 
I'm a bit worried of all these branches
 
I renamed osx to OSX but it doesn't pick up the changes.
 
Remove and add again.
Or try hg mv.
Oh, important: if you want to rename or move files, use hg mv, or it'll not catch up the change.
 
7:35 PM
% hg mv OSX osx
moving OSX/Info.plist to OSX/OSX/Info.plist
lol
 
Yeah, that's for compatibility with case-insensitive filesystems.
 
@CatPlusPlus You're missing a resource directory.. is that data?
 
You don't want case-only changes or files with the same name but differing case for those.
Or it'll break hilariously.
@Neil Yeah.
 
Wait wait Hg doesn't pick up moved files automatically?!
 
Also probably docs/ somewhere.
@RadekSlupik How would it do that?
 
7:36 PM
Git does it and it works perfectly.
I don't know how it does it.
 
hg addremove usually can track renames pretty accurately.
git probably calls something like that automagically.
 
Yeah, addremove is a really cool command.
 
Also, empty directories won't be recorded.
 
@RadekSlupik It guesses.
 
% hg add osx/Info.plist
% hg status
R .hgignore
R OSX/Info.plist
What the FUCK.
Can I clear the staging area?
 
7:39 PM
Revert OSX/Info.plist.
 
Thanks. :)
 
Staging area, lol
 
However that's called in Hgspeak.
 
dirstate.
 
There's no staging area.
At least not like git.
 
7:42 PM
wtf even is a staging area?
 
Yeah im not following this source control talk either ^^
 
It's an intermediate state for changes. When you do git add you put changes into staging, when you do git commit you commit the changes put into staging
So you can change a file, add it to staging, change it again and commit, and only the first change will be recorded.
The other one will remain uncommitted.
I don't know how that word should work.
Bleh.
 
Ok fixed it.
In Git you make changes, add them to the staging area, make more changes, add those to the staging area too, then commit those changes and they are permanent.
Then you can push if you want.
 
@DeadMG You dere ?
 
When you $ git commit, you commit everything in the staging area (also called index).
 
7:47 PM
somewhat
why?
 
@DeadMG It's a repoception.
 
@RadekSlupik In Hg, that's just called "uncommitted changes" and you just add to them when, well, you change shit.
 
Going trough the document, there's stuff about planets, and then stars have only: block LoS. What do you think about stars increasing recharge-rate of the shields of the nearby units ?
 
@DeadMG Same thing I guess.
Just a different name.
 
git users claim index have a purpose. I don't believe them. YMMV.
 
7:49 PM
No, not the same thing. In git, you must add always. In hg, you only add new files.
 
I don't.
 
@ScarletAmaranth If anything, they should just burn everything in close range.
@RMartinhoFernandes Or use git commit --screw-index also known as git commit -a.
 
@CatPlusPlus I just reckon there should be something to them.
 
Well, you can't have planets with no stars. :P
 
They're called exoplanets. Or something.
 
7:50 PM
Well, okay, you can't have all planets without stars.
They wouldn't develop life to put in those pewpewing spaceships.
 
well, it would just look silly, and the planets wouldn't be lit without the stars to be a light source
 
Oh no, it's rogue planets. Exoplanets is something else.
 
@ScarletAmaranth I think Cat's right. If anything it could cause potential interference with shields
 
An extrasolar planet, or exoplanet, is a planet outside the Solar System. A total of such planets (in planetary systems and multiple planetary systems) have been identified as of . Estimates of the frequency of systems strongly suggest that more than 50% of Sun-like stars harbor at least one planet. In a 2012 study, each star of the 100 billion or so in our Milky Way galaxy is estimated to host "on average ... at least 1.6 planets." Accordingly, at least 160 billion star-bound planets may exist in the Milky Way Galaxy alone. For centuries, many philosophers and scientists suppose...
A rogue planet — also known as an interstellar planet, nomad planet or orphan planet — is a planetary-mass object which has either been ejected from its system or was never gravitationally bound to any star, brown dwarf or other such object, and that therefore orbits the galaxy directly. Astronomers believe that either way, the definition of planet should depend on current observable state and not origin. Larger planetary-mass objects which were not ejected, but have always been free-floating, are thought to have formed in a similar way to stars, and the IAU has proposed that those ob...
If we ever write a help about that
 
well, currently, they are there to "look awesome" :P (and block LoS :))
 
7:52 PM
> ejected from its system
 
why are you looking for more game mechanics?
 
It's when a star says "fuck you, bitch".
 
they are like language features, you want as few as possible
 
Pool with planets.
 
and you should only add new if the existing set doesn't work
 
7:55 PM
@DeadMG Because interaction with environment should reach further than fights for resources, I reckon.
 
it does- FoW
 
(Excluding the obvious stuff like FoW and distance between players, etc ...)
 
Well, stars might be a resource.
If you put one or two on the map, and they have a great value, it might serve as a strategic resource.
 
C++ committee: if we add export, it might be implemented by some compilers and work out.
 
I'd assume hydrogen would be a very important resource to have.
 
7:58 PM
Jump fuel or something.
So you can move fleet more efficiently.
 
@CatPlusPlus That was "a plan" for planets, sort of. So they would influence ship speed / acceleration, something. I wouldn't necessarily view it as a pull though, that would be potentially very annoying.
 

  last day (27 days later) »