Packaging for Sabayon

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Packaging for Sabayon

Postby ndowens » Tue Oct 23, 2012 1:22

I am wondering, how does one make a package to be used by Entropy? I have been searching the forum, asked in IRC and Google'd it, but I am finding nothing but this one site http://delogics.blogspot.com/2010/07/making-sabayon-package.html
ndowens
Baby Hen
 
Posts: 13
Joined: Sun Oct 29, 2006 4:59

Re: Packaging for Sabayon

Postby wolfden » Tue Oct 23, 2012 12:02

You will want to see Community Repos section of our wiki:
https://wiki.sabayon.org/index.php?titl ... Repository
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Packaging for Sabayon

Postby ndowens » Tue Oct 23, 2012 19:02

Code: Select all
# Project Entropy 1.0 activator configuration file

#
# Branches configuration:
# branches|<branch> <branch> <branch>
#
#
# Specify here the currently maintained branches
#
#   example:
#   branches|3.5 3.6
#
branches|5

#
# Packages expiration days:
# expiration-days|<number>
#
#
# Number of days after a binary package will be removed from its belonging repository if not available anymore (old files)
#
#   example:
#   expiration-days|15
#
# expiration-days|<internal value>

product = standard
#
#  syntax for officialserverrepositoryid:
#
#    officialserverrepositoryid: Repository identifier for the official main distribution repository
#    officialserverrepositoryid|<repository identifier>
#
officialserverrepositoryid|ndowens-repo

#
#  syntax for repositories:
#
#    repository: server-side repositories configuration
#    note: default repository setting is in repositories.conf (officialrepositoryid)
#|   repository|repository_id|repository description|<ftp upload URI 1> <2>|<http handlers uri>|<remote server hostname>#<service port>,<ssl service port>
#
#    example:
#|       repository|sabayonlinux.org|Sabayon Linux Official Repository|ftp://user:pass@111.111.111.111/|http://svn.sabayonlinux.org/entropy|svn.sabayonlinux.org#1026,1027
#
|   repository|ndowens-repo|Nathan Repo|ftp://ndowens:PASSWORD@ftp.drivehq.com|


I have that as my /etc/entropy/server.conf and I try to run:
Code: Select all
equo repo add ndowens-repo
Gives me
>> Adding repository string: ndowens-repo
>> [ndowens-repo] invalid repository string: repostring must start with 'repository|'


I tried running
Code: Select all
equo community repo status
but it acts as if the command doesn't exist.
ndowens
Baby Hen
 
Posts: 13
Joined: Sun Oct 29, 2006 4:59

Re: Packaging for Sabayon

Postby sabayonino » Tue Oct 23, 2012 19:19

ndowens wrote:
Code: Select all
# Project Entropy 1.0 activator configuration file

#
# Branches configuration:
# branches|<branch> <branch> <branch>
#
#
# Specify here the currently maintained branches
#
#   example:
#   branches|3.5 3.6
#
branches|5

#
# Packages expiration days:
# expiration-days|<number>
#
#
# Number of days after a binary package will be removed from its belonging repository if not available anymore (old files)
#
#   example:
#   expiration-days|15
#
# expiration-days|<internal value>

product = standard
#
#  syntax for officialserverrepositoryid:
#
#    officialserverrepositoryid: Repository identifier for the official main distribution repository
#    officialserverrepositoryid|<repository identifier>
#
officialserverrepositoryid|ndowens-repo

#
#  syntax for repositories:
#
#    repository: server-side repositories configuration
#    note: default repository setting is in repositories.conf (officialrepositoryid)
#|   repository|repository_id|repository description|<ftp upload URI 1> <2>|<http handlers uri>|<remote server hostname>#<service port>,<ssl service port>
#
#    example:
#|       repository|sabayonlinux.org|Sabayon Linux Official Repository|ftp://user:pass@111.111.111.111/|http://svn.sabayonlinux.org/entropy|svn.sabayonlinux.org#1026,1027
#
|   repository|ndowens-repo|Nathan Repo|ftp://ndowens:PASSWORD@ftp.drivehq.com|


I have that as my /etc/entropy/server.conf and I try to run:
Code: Select all
equo repo add ndowens-repo
Gives me
>> Adding repository string: ndowens-repo
>> [ndowens-repo] invalid repository string: repostring must start with 'repository|'


I tried running
Code: Select all
equo community repo status
but it acts as if the command doesn't exist.


Error is :
invalid repository string: repostring must start with 'repository

The line that you've edit starts with "pipe" |

delete "pipe" |

Code: Select all
repository|ndowens-repo|Nathan Repo|ftp://ndowens:PASSWORD@ftp.drivehq.com|


[edit] Howto in the wiki is Old

now to packaging works with "eit" command (installed via entropy-server package)

please see http://www.sabayon.org/article/eit-stup ... reinvented :wink:
User avatar
sabayonino
Sagely Hen
 
Posts: 1573
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Packaging for Sabayon

Postby ndowens » Tue Oct 23, 2012 19:40

I have tried without the initial pipe and still doesn't help
ndowens
Baby Hen
 
Posts: 13
Joined: Sun Oct 29, 2006 4:59

Re: Packaging for Sabayon

Postby sabayonino » Tue Oct 23, 2012 19:49

ndowens wrote:I have tried without the initial pipe and still doesn't help


Need output error ...

try this :
Code: Select all
repository|ndowens-repo|Nathan Repo|ftp://ndowens:PASSWORD@ftp.drivehq.com|ftp://ndowens:PASSWORD@ftp.drivehq.com
User avatar
sabayonino
Sagely Hen
 
Posts: 1573
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Packaging for Sabayon

Postby ndowens » Tue Oct 23, 2012 20:44

DarthRevan ndowens # equo repo add ndowens-repo
>> Adding repository string: ndowens-repo
>> [ndowens-repo] invalid repository string: repostring must start with 'repository|'
ndowens
Baby Hen
 
Posts: 13
Joined: Sun Oct 29, 2006 4:59

Re: Packaging for Sabayon

Postby sabayonino » Tue Oct 23, 2012 22:53

ndowens wrote:DarthRevan ndowens # equo repo add ndowens-repo
>> Adding repository string: ndowens-repo
>> [ndowens-repo] invalid repository string: repostring must start with 'repository|'



uhm I think you must delete the space between "repository" and pipe "|"

:mrgreen:

right
Code: Select all
repository|


wrong
Code: Select all
repository |
User avatar
sabayonino
Sagely Hen
 
Posts: 1573
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Packaging for Sabayon

Postby ndowens » Tue Oct 23, 2012 23:36

I don't see no space in my conf file.
ndowens
Baby Hen
 
Posts: 13
Joined: Sun Oct 29, 2006 4:59


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests