Community Repository

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (Add repository manually)
(Add repositories by installing repository packages)
Line 43: Line 43:
 
= Add Repository on Neo =  
 
= Add Repository on Neo =  
 
== Add repositories by installing repository packages ==
 
== Add repositories by installing repository packages ==
* The community-repository is installed by default in [[ASU | OM2008.8]].
+
* The community-repository is installed by default in [[Om2008.8 | Om 2008.8]].
  
 
== Add repository manually ==
 
== Add repository manually ==

Revision as of 00:25, 7 August 2008

--Tick 03:46, 23 June 2008 (UTC)This page may change rapidly recently. Alpha 0.1.0

Contents

Community Repository

There is a community repository that every one can release your projects on Neo.

Sites

The Repository: http://downloads.openmoko.org/repository/Multiverse

The mailing list: http://lists.openmoko.org/mailman/listinfo/community-repository

How to release packages

You can release your package with ipk file.

Package Tags

If you want your package to be shown on Installer, please add tag message on your package.

Category Tag
Communication group::communication
Development group::programming
Games group::games
Maps group::maps
Miscellaneous group::unknown
Network group::network
Repos group::repos
  • For OE user, please adding the Tag by adding one line in your bb file

For example:

PKG_TAGS_${PN} = "group::games"

Add Repository on Neo

Add repositories by installing repository packages

  • The community-repository is installed by default in Om 2008.8.

Add repository manually

  • Create a file, here we call it community-repos.conf
> echo "arch community-repos 50" > community-repos.conf
> echo "src community-repos http://downloads.openmoko.org/repository/Multiverse/" >> community-repos.conf
  • Connect to your Neo with USB
> sudo ifconfig usb0 192.168.0.200
> scp community-repos.conf root@192.168.0.202:/etc/opkg/
  • Let your Neo connect to the Internet
    • For USB users:
> ssh root@192.168.0.202
> echo 1 | sudo tee  /proc/sys/net/ipv4/ip_forward
> sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE
> scp /etc/resolv.conf root@192.168.0.202:/etc/
    • For geek users:
> ssh root@192.168.0.202
> iwlist eth0 scan
Find a usable AP lets say OpenMind (Support it's an open AP)
> iwconfig eth0 essid OpenMind
> udhcpc eth0
Then pray, if successfull, remove default gw *twice*.
> route -n  # to see your gateway of eth0 say 192.168.1.1
> route del default
> route del default
> route add default gw 192.168.1.1 eth0
Then you can ping wiki.openmoko.org for testing :)
    • For GUI WiFi user:
Click Setting
Click WiFi
Find an AP
Click that AP
Input password if needed
pray
  • Refresh the opkg metadata database
after connecting to Neo
> opkg update

We need your help

We need reviewers who can review new packages. If you want to help, please send e-mail to the mailing list community-repository@lists.openmoko.org .


Reviewers must have the following:

  • an account on projects.openmoko.org
  • ssh public key on projects.openmoko.org
  • basic svn skills
  • basic opkg skills

Openmoko really appreciates your help!

 Current Reviewers
 Tick

Review Packages

The reviewer will check if there have new packages on the mailing list. If you are reviewer and want to review that package

  • reply that mail, and say you want to review that
  • check if the package follows the policy
  • download the package on projects.openmoko.org
  • install that package to see if
    • installable?
    • executable able?
    • functions the claimed works actually works?
    • If it do something bad?
    • uninstall it and see if everything still ok?
  • if the package is okay, put the package in this file and the package will shown next day.

Review Policy

  • Packages in this repository shall not in OM Official repositories
  • Program shall not collect user information and send to others unless it has very clear notification
  • Program shall not destroy the system
  • All packages shall be run-able on Neo
  • The package file name should refer which version of the project is compiled.
Personal tools

--Tick 03:46, 23 June 2008 (UTC)This page may change rapidly recently. Alpha 0.1.0

Community Repository

There is a community repository that every one can release your projects on Neo.

Sites

The Repository: http://downloads.openmoko.org/repository/Multiverse

The mailing list: http://lists.openmoko.org/mailman/listinfo/community-repository

How to release packages

You can release your package with ipk file.

Package Tags

If you want your package to be shown on Installer, please add tag message on your package.

Category Tag
Communication group::communication
Development group::programming
Games group::games
Maps group::maps
Miscellaneous group::unknown
Network group::network
Repos group::repos
  • For OE user, please adding the Tag by adding one line in your bb file

For example:

PKG_TAGS_${PN} = "group::games"

Add Repository on Neo

Add repositories by installing repository packages

  • The community-repository is installed by default in OM2008.8.

Add repository manually

  • Create a file, here we call it community-repos.conf
> echo "arch community-repos 50" > community-repos.conf
> echo "src community-repos http://downloads.openmoko.org/repository/Multiverse/" >> community-repos.conf
  • Connect to your Neo with USB
> sudo ifconfig usb0 192.168.0.200
> scp community-repos.conf root@192.168.0.202:/etc/opkg/
  • Let your Neo connect to the Internet
    • For USB users:
> ssh root@192.168.0.202
> echo 1 | sudo tee  /proc/sys/net/ipv4/ip_forward
> sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE
> scp /etc/resolv.conf root@192.168.0.202:/etc/
    • For geek users:
> ssh root@192.168.0.202
> iwlist eth0 scan
Find a usable AP lets say OpenMind (Support it's an open AP)
> iwconfig eth0 essid OpenMind
> udhcpc eth0
Then pray, if successfull, remove default gw *twice*.
> route -n  # to see your gateway of eth0 say 192.168.1.1
> route del default
> route del default
> route add default gw 192.168.1.1 eth0
Then you can ping wiki.openmoko.org for testing :)
    • For GUI WiFi user:
Click Setting
Click WiFi
Find an AP
Click that AP
Input password if needed
pray
  • Refresh the opkg metadata database
after connecting to Neo
> opkg update

We need your help

We need reviewers who can review new packages. If you want to help, please send e-mail to the mailing list community-repository@lists.openmoko.org .


Reviewers must have the following:

  • an account on projects.openmoko.org
  • ssh public key on projects.openmoko.org
  • basic svn skills
  • basic opkg skills

Openmoko really appreciates your help!

 Current Reviewers
 Tick

Review Packages

The reviewer will check if there have new packages on the mailing list. If you are reviewer and want to review that package

  • reply that mail, and say you want to review that
  • check if the package follows the policy
  • download the package on projects.openmoko.org
  • install that package to see if
    • installable?
    • executable able?
    • functions the claimed works actually works?
    • If it do something bad?
    • uninstall it and see if everything still ok?
  • if the package is okay, put the package in this file and the package will shown next day.

Review Policy

  • Packages in this repository shall not in OM Official repositories
  • Program shall not collect user information and send to others unless it has very clear notification
  • Program shall not destroy the system
  • All packages shall be run-able on Neo
  • The package file name should refer which version of the project is compiled.