Jump to content




ac-get -- Package Manager for ComputerCraft



31 replies to this topic

#1 AmandaC

  • Members
  • 55 posts

Posted 29 June 2013 - 04:30 PM

ac-get is a package manager for ComputerCraft. It's main feature is that it is distributed. (That is, there is no "one repo to rule them all." )


Features
  • Distributed!
  • Update Packages!
  • Add Repos!
  • Mostly Self-documented! ( ac-get help )
  • Startup scripts!
  • Documentation
Can has!?

Sure! It's not on pastebin at this time, and I'd prefer if you didn't upload it there, but you can get it from The download page

ac-get is now open source
I finally decided I was happy enough with the structure of the code to pull the thin veil off it, so it is now available for the world to see at -- And there is a Development mailing list -- And there is a [url=http://lists.darkdna.net/info/acg-devel]Development mailing list for those interested in submitting patches, and those interested in following the progress of the project!

Edited by AmandaC, 31 December 2013 - 10:10 PM.


#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 29 June 2013 - 06:29 PM

Split for you!

#3 AmandaC

  • Members
  • 55 posts

Posted 29 June 2013 - 06:32 PM

danke

#4 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 29 June 2013 - 06:36 PM

o.o you didnt have an account before?
strange program, but what can i install with it?

#5 Sammich Lord

    IRC Addict

  • Members
  • 1,212 posts
  • LocationThe Sammich Kingdom

Posted 29 June 2013 - 06:46 PM

 PixelToast, on 29 June 2013 - 06:36 PM, said:

o.o you didnt have an account before?
strange program, but what can i install with it?
Use something like wget to download it then run the file. I suggest she makes some-sort of Pastebin installer to get more users for her application though.

#6 Oddstr13

  • Members
  • 25 posts
  • LocationNorway

Posted 29 June 2013 - 07:05 PM

I made a setup-loader and put it on pastebin.

Here is how to get started using ac-get:
-- Download the setup
pastebin get AgZXgrb8 ac-get-setup

-- Run it
ac-get-setup

reboot

-- Add a repo - i use my own repo as a example
ac-get add-repo https://bitbucket.org/Oddstr13/ac-get-repo/raw/default

-- List available packages
ac-get list available

-- Get a more detailed description for a package
ac-get info tk-ls

-- Install package
ac-get install tk-ls
Run ac-get without any arguments to get a list of commands.

That should be all you need to get started using ac-get


I have set up a repo and added a few packages, you find it over at https://bitbucket.or...r13/ac-get-repo

Have fun using ac-get ;)

Edit: moved repo from http://mirror.opensh...no/mc/cc/ac-get to https://bitbucket.or...r13/ac-get-repo

Edited by Oddstr13, 07 August 2013 - 06:31 PM.


#7 AmandaC

  • Members
  • 55 posts

Posted 29 June 2013 - 07:45 PM

Ok, looks like I totally broke the update command -- to work around (and update the package manager) run
ac-get install ac-get

Also, I'm thinking of making a list of repositories, but I kinda feel it'd be a bit silly since I'm only aware of three right now, including the base repo that ac-get comes with.

#8 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 29 June 2013 - 08:27 PM

This is pretty awesome. Good job!

#9 minizbot2012

  • Members
  • 122 posts
  • LocationPalm Bay, Florida

Posted 29 June 2013 - 08:33 PM

new repo, used for a chat program developed by me, svdragster, and mudkip
repo-location: final location
http://ac-get.appspot.com/files/ac-get-repo


#10 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 30 June 2013 - 05:02 AM

 minizbot2012, on 29 June 2013 - 08:33 PM, said:

new repo, used for a chat program developed by me, svdragster, and mudkip
repo-location: http://minizbot2012.kd.io/ac-get-repo
Please don't use koding the vm turns off after a while :(

#11 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 30 June 2013 - 01:15 PM

just use the old koding, the old ftp still works, you just dont get to manage those files in the new koding

#12 CaptainSly

  • Members
  • 9 posts

Posted 30 June 2013 - 01:56 PM

Looks good i'll try it

#13 minizbot2012

  • Members
  • 122 posts
  • LocationPalm Bay, Florida

Posted 30 June 2013 - 03:05 PM

ok repo location updated to
http://ac-get.appspot.com/files/ac-get-repo


#14 airtonix

  • Members
  • 18 posts

Posted 02 July 2013 - 02:35 AM

why don't you guys just use github or bitbucket. always online. bonus version control.

what's not to love about version control!

#15 Leo Verto

  • Members
  • 620 posts
  • LocationOver there

Posted 02 July 2013 - 10:55 AM

 airtonix, on 02 July 2013 - 02:35 AM, said:

why don't you guys just use github or bitbucket. always online. bonus version control.

what's not to love about version control!
Version control and package managers are two different things you can't really compare.

#16 airtonix

  • Members
  • 18 posts

Posted 05 July 2013 - 04:06 AM

 Leo Verto, on 02 July 2013 - 10:55 AM, said:

 airtonix, on 02 July 2013 - 02:35 AM, said:

why don't you guys just use github or bitbucket. always online. bonus version control.

what's not to love about version control!
Version control and package managers are two different things you can't really compare.

I think you misunderstand my point (which was made after a stream of discussion around hosting difficulties of a repo)

Use github to host an ac-get repository.

#17 AmandaC

  • Members
  • 55 posts

Posted 05 July 2013 - 09:48 AM

 airtonix, on 05 July 2013 - 04:06 AM, said:

 Leo Verto, on 02 July 2013 - 10:55 AM, said:

 airtonix, on 02 July 2013 - 02:35 AM, said:

why don't you guys just use github or bitbucket. always online. bonus version control.

what's not to love about version control!
Version control and package managers are two different things you can't really compare.

I think you misunderstand my point (which was made after a stream of discussion around hosting difficulties of a repo)

Use github to host an ac-get repository.

If you mean the base repo, that's not currently in my plans, but it should be possible to have a repo put up there. -- ac-get.darkdna.net should be stable, but I'm looking into CDN options since it's all static files.

Another thing I'm looking into (and playing with code for) is making a public repository, in the vein of cc-get -- but I'm not sure it's a bright idea, I'd prefer that third party coders make their own repos for their own stuff, than have a giant single repository.

That said, Anywhere that hosts files can host a repo, no need for php or similar. It's just a matter of making sure the public-facing urls mirror the file structure that ac-get expects from repos.

#18 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 05 July 2013 - 10:04 AM

 PixelToast, on 30 June 2013 - 01:15 PM, said:

just use the old koding, the old ftp still works, you just dont get to manage those files in the new koding

Just thought I'd mention that the old koding (and kodingen) is being shut down soon

#19 AmandaC

  • Members
  • 55 posts

Posted 07 August 2013 - 09:07 PM

Sorry for the inactivity! I'm here to announce ac-get version 6!

This release fixes `ac-get list installed` and also does some minor changes to how startup scripts work, detailed below for Content Creators

Note
If you have a modified /startup, please be weary of how the update works.

Content Creators
Startup scripts are now sorted before being run, so the common pattern for this is NN-script-name -- where N is 0-9.

For example, the startup script that adds the binary directory to the path, is now 00-add-paths, and, as a result, would run before 99-foo-shell. If you've used old linux runlevel stuff, this will feel familiar to you.

As usual, report any bugs you find either in this thread, or in #ac-get on the Esper IRC network.

#20 XDjackieXD

  • Members
  • 11 posts
  • LocationMinecraftServer.getServer().getConfigurationManager().getPlayerForUsername("XDjackieXD").getPosition(1.0F);

Posted 09 August 2013 - 02:26 PM

Had the same idea, Saw yours, Love it! :D





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users