Raised This Month: $51 Target: $400
 12% 

Updater Integration Using Bitbucket


Post New Thread Reply   
 
Thread Tools Display Modes
Eden.Campo
Member
Join Date: Mar 2013
Old 04-02-2013 , 10:10   Re: Updater Integration Using Bitbucket
Reply With Quote #11

Thank you very much! Awesome Tutorial!
Eden.Campo is offline
API
Veteran Member
Join Date: May 2006
Old 04-03-2013 , 11:27   Re: Updater Integration Using Bitbucket
Reply With Quote #12

Quote:
Originally Posted by berni View Post
I personally don't think Mercurial is bad, it's similar to Git in some aspects.
But I'm really a Git-addict, using it in my company and for every private project, so don't even try to convince me to switch to something else Git just feels lightweight and fast for me (I also already used Mercurial a lot of times).

But I really don't want to start a discussion about that, I'm really sure every versioning system has its benefits and everyone should just use what they like.
I don't mind using Mercurial when I have to, but I prefer Git for my own projects.
Please don't try to force people to use something.
+1 for Git for the same reasons
Great tutorial either way.
__________________
API is offline
Send a message via AIM to API
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 04-05-2013 , 14:44   Re: Updater Integration Using Bitbucket
Reply With Quote #13

Quote:
Originally Posted by GoD-Tony View Post
I thought I'd ask here because I'm considering doing the same: Is it better to have a separate repository just for Updater releases, or to have named branches on the main one?

For example, code is always pushed to default, but Updater releases could be pushed to a "stable-release" branch, then maybe have a "dev-release" as well.

Is it down to personal preference or would one be more recommended than the other?
I eneded up using a forked "beta" repo to handle all my beta code. Though I haven't successfully figured out how to merge the changes with the release repo... But then again ive only been using bitbucket since a few weeks ago... lol
Doc-Holiday is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 05-19-2013 , 17:37   Updater Integration Using Bitbucket
Reply With Quote #14

I discovered that Bitbucket allows for static file hosting if you create a Mercurial repo named "[username].bitbucket.org". This would allow for people to use Bitbucket as their Updater download server without having to register a custom domain. Your files will be accessible at the same URL as your repo.

For instance, I put a simple HTML file at http://doctor_mckay.bitbucket.org. The repo is private. Bitbucket will continue to serve up your content from a private repo as long as the name matches the pattern. There's a documentation page for this feature, but I don't feel like trying to hunt down the link on mobile.

Edit: Here it is.
__________________

Last edited by Dr. McKay; 05-19-2013 at 18:47.
Dr. McKay is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 05-20-2013 , 02:00   Re: Updater Integration Using Bitbucket
Reply With Quote #15

So my username is. savsin so I create a Simple repo using savsin.bitbucket.org?

That's pretty cool. And I make it a private repo and it works fine with updater?

I've never used this prior to this thread and I'm starting to love it. Beats having to remeber which one is current on my 3 computers lo
Doc-Holiday is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 05-20-2013 , 08:26   Updater Integration Using Bitbucket
Reply With Quote #16

Quote:
Originally Posted by Doc-Holiday View Post
So my username is. savsin so I create a Simple repo using savsin.bitbucket.org?

That's pretty cool. And I make it a private repo and it works fine with updater?

I've never used this prior to this thread and I'm starting to love it. Beats having to remeber which one is current on my 3 computers lo
Yeah. It's kinda better if you make your repo public though, it allows for people to see changes as they're made. Don't use it as a website, use it as version control.
__________________
Dr. McKay is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 05-20-2013 , 10:14   Re: Updater Integration Using Bitbucket
Reply With Quote #17

Quote:
Originally Posted by Dr. McKay View Post
Yeah. It's kinda better if you make your repo public though, it allows for people to see changes as they're made. Don't use it as a website, use it as version control.
yeah... i have a site I pay for and can host there too but i love just clicking commit and bam update done. thanks man...
Doc-Holiday is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 11-28-2013 , 10:07   Re: Updater Integration Using Bitbucket
Reply With Quote #18

Whilst doing this tutorial to get ready to set up Updater for my Boss Spawner Deluxe plugin (and any other plugin I may choose to integrate Updater into, I noticed an error in your guide:

Quote:
On the Workbench tab, choose update on the After pull operation dropdown.
For me, the After Pull Operation dropdown was on the Sync tab (latest version of TortoiseHG for Win7 64-bit)

This is about as far into the tutorial as I've gotten, so back to work I go!

EDIT: So I've gotten to here
Quote:
In your local repository folder, create two folders named "plugins" and "scripting". The scripting folder is where your plugins' source code will go, and plugins is for the compiled smx files.
I'm assuming by "local", you're referring to the folder I created on my computer, and not something I need to create on BitBucket.

Last edited by 404UserNotFound; 11-28-2013 at 10:13.
404UserNotFound is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 11-28-2013 , 11:14   Re: Updater Integration Using Bitbucket
Reply With Quote #19

Quote:
Originally Posted by abrandnewday View Post
I'm assuming by "local", you're referring to the folder I created on my computer, and not something I need to create on BitBucket.
Yes.
__________________
ddhoward is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 11-28-2013 , 11:45   Re: Updater Integration Using Bitbucket
Reply With Quote #20

Quote:
Originally Posted by ddhoward View Post
Yes.
Good, good. Onward I go with the tutorial
404UserNotFound is offline
Reply



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 19:03.


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