eiffelhub / iron

IRON: Eiffel package repository
Other
5 stars 4 forks source link

Local repositories #27

Open berenddeboer opened 6 years ago

berenddeboer commented 6 years ago

How do you install local repositories? I've tried this:

mkdir /tmp/my_repository
ln -s $GOBO /tmp/my_repository/
iron repository --add file:///home/berend/tmp/my_repository
iron install gobo_master
  Searching [gobo_master] 
  Installing [gobo_master (file:///tmp/my_repository) "Gobo Eiffel"]  -> successfully installed.
  Setting up [gobo_master (file:///tmp/my_repository) "Gobo Eiffel"]  -> completed

But this does not install anything except create gobo_master__gobo_master+file____tmp_my_repository.info in iron/packages/. My $GOBO/package.iron file is:

package gobo_master

project
    gobo_argument = "library/argument/library.ecf"

note
    title: Gobo Eiffel
    description: "[
        Welcome to Eiffel Gobo
                ]"
    tags:gobo,argument,lex,yacc,lexical,math,parse,pattern,regexp,string,structure,test,time,utility,tools,xml
    link[doc]: "Documentation" http://www.gobosoft.com/
    link[source]: "git" https://github.com/gobo-eiffel/gobo/

end

What am I missing here?

jocelyn commented 6 years ago

I will try to reproduce and see if I have the same behavior on Linux and Windows

berenddeboer commented 6 years ago

Hi Jocelyn, any update on this? I think I need local repositories so I can use github repositories of projects, while still using .iron as my package file. That will be the temporary solution for me until we have versioning.