There is a problem, how do I contact you ?

For now just email me at tcolar at the colar.net domain.

I'm tired of having to always add "-r http://repo.status302.com/fanr/ -u myuser" to all my fanr commands.

If you only uses this repository then you could set this repo as the default in your Fantom env.
You would edit [FAN_HOME]/etc/fanr/config.props like this:

repo=http://repo.status302.com/fanr/
numVersions=5
username=myusername
password=secret
        
After that you can use fanr without having to specify -r, -u, -parameters.

What are the differences between a public pod and a private pod?

You would share a pod to the world by making it public. You would use a private pod when you don't want anybody else to have access to it or for stagging purposes.
  • Only the publisher of a pod can access a private pod. needs to be logged in to see it. (including with fanr)
  • A private pod can be removed by it's owner, but a public pod can never be removed.

What is the required pod data (build.fan) for a pubic pod?

  • The pod name must be unique in the repo
  • The pod version must be provided and be unique
  • A pod summary is required ... so we know what the pod is about
  • At least one of vcs.uri or org.uri are required. So we know where to report issues about this pod
  • The license.name is required, because it should be defined for a public pod.

Minimal example of build.fan (Public pod):

using build

class Build : BuildPod
{
  new make()
  {
    podName = "mypod"
    summary = "A really cool pod for testing the repo"
    version = Version("1.0.8")
    meta = ["vcs.uri" : "http://bitbucket.com/user/mypod/", "license.name":"GPL"]
    depends = ["sys 1.0"]
    srcDirs = [`fan/`]
  }
}
                


What is the required pod data (build.fan) for a private pod ?<

For a private pod it's less picky:
  • The pod name must be unique in the repo.
  • The pod version must be provided and be unique.
  • it MUST have the "repo.private":"true" metadata.
Minimal example of build.fan (private pod):

using build

class Build : BuildPod
{
  new make()
  {
    podName = "myprivatepod"
    summary = ""
    version = Version("1.0.3")
    meta = ["repo.private":"true"]
    depends = ["sys 1.0"]
    srcDirs = [`fan/`]
  }
}
                

How can I make a private pod public ?

Here are the steps, basically it cannot be both private and public so you have to re-publish it as public.
  • Login into this site, browse to the private pod and remove it (remove link)
  • Change your pod build.fan to remove the repo.private property and then build your pod
  • Publish the pod (it will now be public)