Jump to content




[WIP] ccpkg - a package manager for Computercraft


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

#1 leftshiftadri

  • Members
  • 8 posts

Posted 21 December 2013 - 08:32 AM

I am currently working on a package manager for computercraft. The goal is to make something that works similar to apt-get on linux systems.
You basically type "ccpkg install packagename", and it downloads, installs, and updates the package (and other packages it depends on).
It uses a Server built with PHP.
Currently, it is still verrry work-in-progress, I don't know if i will ever really release it. If I would, I'd need a few people to look over the PHP i wrote to see if everything is properly escaped and stuff.
I am also thinking about how the packages can be published. (Login via cc/web interface/email me the files? I don't know yet...)
Well, I will post screenshots and stuff as soon as there is anything to see...

leftshift

Edited by leftshiftadri, 21 December 2013 - 08:33 AM.


#2 biggest yikes

  • Members
  • 573 posts

Posted 21 December 2013 - 12:37 PM

Can you add the current code if you have any? B)

#3 leftshiftadri

  • Members
  • 8 posts

Posted 21 December 2013 - 01:28 PM

This is the lua code I've written so far:
http://pastebin.com/MnPUbbzg
Downloading it wouldn't make much sense though, because I am currently only using a local server and it will just give you an error.
Also, I will change the way the communication works so far. The way I'm doing it right now is kind of over complicated.
Edit: Also, all it's doing right now is downloading the files.

Edited by leftshiftadri, 21 December 2013 - 01:29 PM.


#4 awsmazinggenius

  • Members
  • 930 posts
  • LocationCanada

Posted 21 December 2013 - 02:44 PM

Aren't there already CC packagers, CC App Stores (there is one in awsmazingOS), the Pastebin program and cc-get?

#5 Magik6k

  • Members
  • 29 posts

Posted 21 December 2013 - 04:19 PM

Also Mine CCPT, About Publishing - I'm currently working on a Public repositories(like PPA in Ubuntu), this method seems to be the best one. Anyways I'd like to see your implementation workind!

#6 leftshiftadri

  • Members
  • 8 posts

Posted 21 December 2013 - 04:26 PM

I didn't know about cc-get, but well, i'm kind of doing something similar.
As I said, I don't know if I am even going to release it...

#7 awsmazinggenius

  • Members
  • 930 posts
  • LocationCanada

Posted 21 December 2013 - 05:48 PM

For my in-development awsmazingOS App Store (and the awsmazingTunes music store) I use a public GitHub repository to store all the code, and a file in that repository to tell the application how to load all the content into the store.

#8 leftshiftadri

  • Members
  • 8 posts

Posted 22 December 2013 - 04:57 AM

Yup, I am also using something like instruction file(s) alongside with the program files.
I am also planning to make an in game packager and uploader, but I'm not quite sure about how I want to do the authentication. Also, i'm not quite sure about hosting... (I'm currently just running a local server)

Edited by leftshiftadri, 22 December 2013 - 04:58 AM.


#9 leftshiftadri

  • Members
  • 8 posts

Posted 22 December 2013 - 08:10 AM

@Magik6k Wow yours looks impressive, idk if I can keep up with that... ;)

Edited by leftshiftadri, 22 December 2013 - 10:45 AM.


#10 Imque

  • Members
  • 134 posts

Posted 23 December 2013 - 09:13 AM

It seems well, very insecure. Once a release is made, I will attempt to exploit the server and report my findings.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users