Jump to content




Mad-DL, apt-get for ComputerCraft! Now v2.1

lua

  • You cannot reply to this topic
8 replies to this topic

#1 Mads

  • Members
  • 604 posts
  • LocationCopenhagen, Denmark

Posted 13 January 2013 - 09:08 AM

I have been wanting to update my old program "Mad-DL" for a while, so here it is: Mad-DL v2.0.

It works kind of like apt-get in certain Linux distros. Though, it does not have as many commands as apt-get.

For users:
Spoiler

For repository hosters:
Spoiler

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

Client changelog:
Spoiler

Repository changelog:
Spoiler

NOTE: If you encounter any errors, contact the repository administrator. The program expects PERFECT syntax in repository and package files.

For now, there is no way to "upload" packages to repositories, you will have to ask the repo admin to do that. An auto-packager will be relased when I get the time.

If any of this seems confusing, or you need help installing this to a server, just post a reply. Feedback would also be appreciated!

#2 RunasSudo-AWOLindefinitely

  • Signature Abuser
  • 249 posts
  • Location/dev/earth1aus5

Posted 13 January 2013 - 07:31 PM

Don't we already have cc-get?

#3 Mads

  • Members
  • 604 posts
  • LocationCopenhagen, Denmark

Posted 14 January 2013 - 12:22 AM

If you took your time to read, you would clearly see that this is different from CC-Get.

#4 zekesonxx

  • Signature Abuser
  • 263 posts
  • LocationWhere you aren't

Posted 14 January 2013 - 09:15 AM

This is actually really good.

Can you, in pkg files, load files from external places? EX: "libs/luacode.lua http://externalsite.org/code/luacode.lua"

#5 pielover88888

  • Members
  • 66 posts
  • LocationIn a library that's in a village, huddling my advanced computer as zombies bang on the door.

Posted 14 January 2013 - 10:43 AM

Interesting, at first I thought this _was_ ccget, and I remembered that ccget had few features, then I noticed it's not ccget and..
well, anyway, this seems pretty cool. *tests it out*

EDIT: found bug in 2.1: mad-dl:434: attempt to index ? (a nil value)
that happened when I did mad-dl search, then chose to update the cache because it didn't exist.

Edited by pielover88888, 14 January 2013 - 10:45 AM.


#6 RunasSudo-AWOLindefinitely

  • Signature Abuser
  • 249 posts
  • Location/dev/earth1aus5

Posted 14 January 2013 - 12:43 PM

I did completely read the post, I just think it might be a good idea to add a comparison of this and cc-get, because I can't be bothered getting on my computer and downloading the program just to find out what it does differently.

#7 Mads

  • Members
  • 604 posts
  • LocationCopenhagen, Denmark

Posted 15 January 2013 - 02:55 AM

View Postpielover88888, on 14 January 2013 - 10:43 AM, said:

Interesting, at first I thought this _was_ ccget, and I remembered that ccget had few features, then I noticed it's not ccget and..
well, anyway, this seems pretty cool. *tests it out*

EDIT: found bug in 2.1: mad-dl:434: attempt to index ? (a nil value)
that happened when I did mad-dl search, then chose to update the cache because it didn't exist.

You have to call 'mad-dl recache' before downloading or doing anything. Or you can do 'mad-dl conf auto_recache 1', which will make it reload the cache automatically. I know you did this, but if you get that error, it was likely caused by an HTTP failure. Try recaching again. I am not getting that error.

EDIT: Just updated 2.1 to the EXACT same code as I have :D

#8 Mads

  • Members
  • 604 posts
  • LocationCopenhagen, Denmark

Posted 15 January 2013 - 02:57 AM

View Postzekesonxx, on 14 January 2013 - 09:15 AM, said:

This is actually really good.

Can you, in pkg files, load files from external places? EX: "libs/luacode.lua http://externalsite.org/code/luacode.lua"

No, you cannot. Might add that in 2.2, though. Also, there's a syntax error in your sig :{D

#9 zekesonxx

  • Signature Abuser
  • 263 posts
  • LocationWhere you aren't

Posted 15 January 2013 - 05:25 AM

View Postmad, on 15 January 2013 - 02:57 AM, said:

Also, there's a syntax error in your sig :{D

I know.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users