Jump to content




MPT - Minecraft packaging tool

utility networking

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

#1 Magik6k

  • Members
  • 29 posts

Posted 28 November 2013 - 11:52 AM

---As of 21 may 2014 name has changed from CCPT to MPT---
To avoid compatybility issues all internal names will remain unchanged

This utility is package manager similar to the APT known from Debian. I've created this mainly as part of operating system which I'm currently developing.

Main Features:
  • Installing/Upgrading/Removing Packages
  • Packages downloaded through HTTP API(so it must be enabled)
  • Easy to manage 'Package lists'
  • Easy Package creation
  • Dependencies
  • Private Package Archives(PPA's)
  • (new!)Basic ac-get support
Installation:
-Note that you must enable HTTP API

pastebin run 09QAQFaN
It will download and setup MTP files under /etc/ccpt and create Linux like directory tree

Usage:

Installing packages:
mpt install [package name]

Upgrading packages:
mpt upgrade

Removing packages:
mpt remove [package name]

Updating package lists:
mpt update

Add/remove private repository(PPA):
mpt ppa add [repository name]
mpt ppa remove [repository name]

Add/remove ac-get repository(PPA):
mpt ac add [repository url]
mpt ac remove [repository url]

Please note, that ac-get compatibility is still experimental, in case you notice any bug, I'd like you to report it here. The only thing that is expected to not work are 'steps' (post/pre install/upgrade/remove), rest should be fine.
Also do not report any bugs from CCPT to AmandaC, as CCPT implementation is different from ac-get

Package List:
browser for default packages: http://cc.nativehttp.org/web.html

Root package lists can be added to '/etc/ccpt/sources' file

For Program Developers(PPA uasge):
Spoiler

Note that most of programs 'binaries' are installed to /bin or /usr/bin, so you must set your 'path' to point there, or you can use core boot program from my OS to do this for you:

mpt install sysx-core-boot

License
Do whatever you want, the only thing you can not do is to claim that you have written the original software

Edited by Magik6k, 21 May 2014 - 06:44 AM.


#2 willwac

  • Members
  • 182 posts

Posted 29 November 2013 - 12:32 PM

Hmm. Another packaging system. I'll try it, it might work!

#3 TechMasterGeneral

  • Members
  • 149 posts
  • LocationUnited States

Posted 04 December 2013 - 07:16 PM

Looks really cool...

#4 Magik6k

  • Members
  • 29 posts

Posted 13 December 2013 - 07:16 PM

I've just added web package browser: http://cc.nativehttp.org/web.html

#5 Magik6k

  • Members
  • 29 posts

Posted 02 January 2014 - 10:05 PM

I've created Private repository website, feel free to use! http://cc.nativehttp.org/ppa.so

#6 robhol

  • Members
  • 182 posts

Posted 03 January 2014 - 04:23 AM

Looks cool. What makes it different from ac-get?

#7 Magik6k

  • Members
  • 29 posts

Posted 03 January 2014 - 05:16 AM

Well, ac-get lacks dependency system(or have I missed it?), which IMHO should be main feature of every package manager. Also creating own repository with ccpt is simpler, because you don't have to care about hosting(you can have your own PPA, more in first post).
In fact ccpt is in middle of development(so it's going to have way more features, and is stable)

Edited by Magik6k, 03 January 2014 - 05:27 AM.


#8 robhol

  • Members
  • 182 posts

Posted 03 January 2014 - 12:34 PM

Okay, cool. For the record, ac-get doesn't lack that. :P

What kind of additional features were you planning on?

#9 Magik6k

  • Members
  • 29 posts

Posted 03 January 2014 - 01:49 PM

First thing to do is to rewrite program code, so it will be way cleaner and shorter. I also want to make the packager resistant to server-side errors and network faults. I also want to add more features to the Package browswer and PPA Manager(and also make it look more like a Tool, so editing code will be easier). I'm also planing few extra features like PPA acces through FTP(whole repositories are stored in mysql, so it's going to be little hard - but why not try to do this).

#10 Magik6k

  • Members
  • 29 posts

Posted 17 January 2014 - 01:30 PM

Well, some people reported me, that the program hasn't been working on Windows, and I must claim that the issue was fixed!

#11 Magik6k

  • Members
  • 29 posts

Posted 15 February 2014 - 07:01 AM

After doing bunch of small bug-fixes I have finally pushed new version to main repo. The biggest new feature is ac-get repo support and fix of a little bug on CC 1.6 beta. To get new version just upgrade
ccpt upgrade

ac-get packages should work like any other, but for now CCPT lacks pre/post installation/upgrade/remove script support(It will be added soon)

#12 Tommsy64

  • New Members
  • 1 posts
  • LocationUnited States

Posted 18 March 2014 - 11:08 AM

How am I supposed to create a postinstall script without manually creating my own list? I did not see any option on http://cc.nativehttp.org. I want to be able to install my program with one ccpt command and no package list editing.

#13 Magik6k

  • Members
  • 29 posts

Posted 19 March 2014 - 12:20 PM

Thanks for feedback, I have forgotten to enable the feature in current build. I will get it working later today.
----
EDIT
Done!

Edited by Magik6k, 19 March 2014 - 09:11 PM.


#14 Magik6k

  • Members
  • 29 posts

Posted 28 May 2014 - 05:55 PM

THE PROGRAM HAS CHANGED ITS NAME FROM 'CCPT' TO 'MPT'
All scripts using the package manager should be updated
I've also tweaked some internal things, so it works a little faster.
I'm also planning to add support for github repos

#15 IsaacTBeast

  • Members
  • 86 posts
  • LocationI 'm inside your brian

Posted 30 May 2014 - 02:29 PM

is this Linux? XD.. I am getting confused by programs that are based in GNU programs.. xD.. so commands from your Linux pc works in your real linux pc right even in CC xD?

#16 Magik6k

  • Members
  • 29 posts

Posted 31 May 2014 - 11:52 PM

@IsaacTBeast
It is not Linux clone, this program is inspired by known-from-Linux utility - APT. It is working inside CC, and gives you ability to manage huge projects easily.

If you want something like Linux, have a look at Sysx
---

I've upgraded web package browser, what do you think of it?
http://cc.nativehttp...b.html?ppa=sysx

Edited by Magik6k, 31 May 2014 - 11:55 PM.


#17 skwerlman

  • Members
  • 163 posts
  • LocationPennsylvania

Posted 03 June 2014 - 11:48 PM

Any chance you'll implement uninstall scripts? I have a package (skwerlman/clua) that makes changes to the /startup file. When the user uninstalls CLua, those changes are never reverted. To work around this, I added a second package (skwerlman/clua-uninstall) that runs through and undoes the changes. It'd be nice I didn't have to require the user to run
mpt remove clua
mpt install clua-uninstall
mpt remove clua-uninstall
to uninstall a one-file package.

Edited by skwerlman, 03 June 2014 - 11:48 PM.


#18 Magik6k

  • Members
  • 29 posts

Posted 04 June 2014 - 03:29 PM

I'm actually working on MPT, I think adding the feature will be simple, so expect it working in short time





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users