Raised This Month: $7 Target: $400
 1% 

AlliedModders now on GitHub


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 05-27-2014 , 13:57   Re: AlliedModders now on GitHub
#11

Quote:
Originally Posted by Powerlord View Post
git doesn't store revision number, how will this change how builds are numbered?
Build tools like jenkins (i'm sure buildbot too) provide a build counter for that, if not, this can easily be done with a little script.
I don't think that this should depend on the used vcs, i mean, it's a build number, not a revision count, thus it should be taken care of by the build system.
This bug has a little bit more info about what bailopan was telling about.
__________________

Last edited by Impact123; 05-27-2014 at 14:08.
Impact123 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-27-2014 , 14:15   Re: AlliedModders now on GitHub
#12

Quote:
Originally Posted by BAILOPAN View Post
You might want to take a look at checkout-deps.sh from sourcemod/tools. It grabs one copy of the HL2SDK and then clones it locally for each branch. It should result in 400MB of traffic instead of 7GB and around the same space used as before.

I don't understand your other problem since with Mercurial you had to check out multiple repositories to grab release/central versions.
I was under the impression that git pulled down all revisions when you cloned a repo, but apparently it only does that on a --mirror.

Also, checkout_deps doesn't seem to update ambuild if it's out of date, only clone it if it's not installed, then install it.

Quote:
Originally Posted by Impact123 View Post
Build tools like jenkins (i'm sure buildbot too) provide a build counter for that, if not, this can easily be done with a little script.
I don't think that this should depend on the used vcs, i mean, it's a build number, not a revision count, thus it should be taken care of by the build system.
This bug has a little bit more info about what bailopan was telling about.
Actually, it isn't the build number, it's the revision number. You can see the actual build number on the waterfall page... but be aware that it's different per-platform.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-27-2014 at 15:15.
Powerlord is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 05-27-2014 , 14:50   Re: AlliedModders now on GitHub
#13

Drixevel is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 05-27-2014 , 15:57   Re: AlliedModders now on GitHub
#14

@Powerlord
I meant that imo it should be, but i'm sure they will find the best way to do this.
__________________

Last edited by Impact123; 05-27-2014 at 16:07.
Impact123 is offline
xXRogueCoderXx
New Member
Join Date: Dec 2011
Old 05-27-2014 , 16:14   Re: AlliedModders now on GitHub
#15

Quote:
Originally Posted by Powerlord View Post
Edit: Incidentally, git doesn't store revision number, how will this change how builds are numbered?
Git stores a hash of each commit that's used as the Id for the commit.
You can also tag revisions in Git with a version number, so your point is invalid.
Most Git version numbers look like [Tag]-[Short-Revision] Ex: 1.3.9-a7f9b77c1
xXRogueCoderXx is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-27-2014 , 17:25   Re: AlliedModders now on GitHub
#16

Quote:
Originally Posted by xXRogueCoderXx View Post
Git stores a hash of each commit that's used as the Id for the commit.
I'm well aware of this. Incidentally, don't use that code, it's not done yet and will probably be tossed and/or reworked anyway.

Quote:
Originally Posted by xXRogueCoderXx View Post
You can also tag revisions in Git with a version number, so your point is invalid.
Most Git version numbers look like [Tag]-[Short-Revision] Ex: 1.3.9-a7f9b77c1
SourceMod's code doesn't rely on tags. It doesn't help that Git's tools treat lightweight tags and annotated tags differently... as you'll no doubt find out if you ever only use lightweight tags and then try to use git describe (it will claim your project has no tags).
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-27-2014 at 17:27.
Powerlord is offline
Mr Pyro
New Member
Join Date: Jun 2011
Old 05-27-2014 , 20:38   Re: AlliedModders now on GitHub
#17

hi bailopan, i have a question off topic.
What happend to the site "www.create-servers.com" its been offline for a while.
Is he ever come back? There were Many usefull things there.
Would been such a loss that evrything is gone
Mr Pyro is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-27-2014 , 20:47   Re: AlliedModders now on GitHub
#18

Quote:
Originally Posted by Mr Pyro View Post
hi bailopan, i have a question off topic.
What happend to the site "www.create-servers.com" its been offline for a while.
Is he ever come back? There were Many usefull things there.
Would been such a loss that evrything is gone
That site is not run by AlliedModders, so there is nothing we can do about it.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 05-30-2014 , 06:27   Re: AlliedModders now on GitHub
#19

This is good news!

Are you going to switch branching workflow too? Maybe to something like this one: http://nvie.com/posts/a-successful-git-branching-model/

What is the master branch? Does it represent a stable version ready for production at any time, or a development version?

I recommend developers to have a look at SmartGit (free to use for open source projects). It's very useful to view changes and logs. I use it in combination with the command line.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)

Last edited by rhelgeby; 05-30-2014 at 06:31.
rhelgeby is offline
Send a message via MSN to rhelgeby
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-30-2014 , 08:37   Re: AlliedModders now on GitHub
#20

Quote:
Originally Posted by rhelgeby View Post
This is good news!

Are you going to switch branching workflow too? Maybe to something like this one: http://nvie.com/posts/a-successful-git-branching-model/

What is the master branch? Does it represent a stable version ready for production at any time, or a development version?

I recommend developers to have a look at SmartGit (free to use for open source projects). It's very useful to view changes and logs. I use it in combination with the command line.
The master branch is what used to be called sourcemod-central (the 1.6 branch) under hg.alliedmodders.net.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-30-2014 at 08:38.
Powerlord is offline
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode