Workflow for local packages

question

#1

I am wondering what the best workflow is for packages which are developed and used locally (before they are published).

Currently, I create them with PkgDev.generate, they end up in ~/.julia/v0.5, and then I keep working on them. However, whenever I Pkg.update(), I get quite a few messages along the lines of

WARNING: Package [...]: skipping update (dirty)...

I am wondering if I should do something differently, to tell Pkg that these cannot be updated, since they only exist locally.


#2

Hello colleague,

you get the same warning if you have local changes to published packages. If your local package is commited, then Pkg.update just proceeds with the INFO: Updating MyPackage master…


#3

Thanks, I understand, but is there a way not to have this warning?


#4

commit your changes?


#6

Once your modules are ready to be published, you put them into the “main” julia package directory?


#7

@Balinus:

For most setups ~/.julia/v0.5 is the “main”. Pkg.update just assumes to update all packages non-dirty.