You are not logged in.

#1 2012-12-27 15:16:04

pictuga
Member
Registered: 2012-04-24
Posts: 6

phpcman - check your system updates from your smartphone

Hello,

I moved to archlinux around one year ago, and the two things I like most are AUR and the rolling-release system. And because I keep my system updated, I often check updates (more often than what the wiki suggests). And because I like to know what updates are coming, I wrote a small php website, that tells you what updates are available for your computer. The main idea is to be able to check what updates are waiting to be installed from my phone when I don't have my laptop with me.
The websites downloads the repo database from a mirror which is updated a couple of times a day, and has the advantage of being hosted in the same datacenter as the website. Then it checks if packages in your package list were updated.

The website is there → http://test.pictuga.com/phpcman/

As it's said on the main page, you only have to upload the content of the output of pacman -Qqe to the website. It will resolve dependencies, save the list, and redirect you to a page you can check as often as you want smile AUR packages are also checked, and the repo database is downloaded every time (if changed).

The name of the website is just "phpcman" as PHP + pacman. It's not really fancy, but I stick with it for now tongue If you've any better idea for the name…
The php code ain't very optimized, and can be verrrry slow, especially when resolving dependencies (around 3 sec are needed…), but it only takes 1sec to update databases and show updates for package list (with cached dependencies list)(including AUR).

Edit: The website actually shows installed packages ordered by "builddate" (or upload for AUR)(most recent up).
Edit: For now, it only uses 64bit repos. For 32bit users, it should be fine, the only drawback is that it may show additional packages from [multilib]

Hope you'll enjoy it as much as I do smile

Last edited by pictuga (2012-12-27 16:12:07)

Offline

#2 2012-12-27 16:50:26

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: phpcman - check your system updates from your smartphone

Hey ,
nice website there. I really like it.
Thanks.


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#3 2012-12-30 02:44:12

prazzb
Member
Registered: 2012-10-12
Posts: 14

Re: phpcman - check your system updates from your smartphone

source ?????..get me the source

Offline

#4 2012-12-30 09:18:35

pictuga
Member
Registered: 2012-04-24
Posts: 6

Re: phpcman - check your system updates from your smartphone

I'll put the source on github soon, I'll check that there's no security flaw anywhere before
I've added a page for 32bit systems at http://test.pictuga.com/phpcman/32bit/
and another one for raspberry pi users at http://test.pictuga.com/phpcman/rpi/
(NB. rpi has a repo called "aur", so on the page, "aur" can be either the real AUR, or their "aur" repo)

there goes the source https://github.com/pictuga/phpcman

Last edited by pictuga (2012-12-30 12:27:47)

Offline

Board footer

Powered by FluxBB