[racket-users] How to manage a Racket package within a Git repo?
I have a git repo that contains a Racket package. The repo also contains other folders related to the package. How do I share the package on pkgs.racket-lang.org without sharing (or just compiling/installing) the other folders? Say I ("bennn") own a repo "foo" with 2 folders, "pkg" and "other". I want to put "pkg" on pkgs.racket-lang.org. - First, I tried changing the Source field of the package to reference " github.com/bennn/foo/tree/master/pkg". Seems no different from " github.com/bennn/foo". - I do not want to move "other" to a new repo. - My current solution is to put an info.rkt file at the top of my repo with: #lang info (define collection 'multi) (define setup-collects '("pkg")) (define compile-omit-paths '("other")) Both setup-collects and compile-omit-paths are necessary, for getting `raco setup` and `raco pkg` to do the right thing. Is there a better way? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] How to manage a Racket package within a Git repo?
Use https://github.com/bennn/foo.git?path=pkg The "path=pkg" part specifies "pkg" within the repo. At Wed, 23 Mar 2016 13:55:06 -0400, Benjamin Greenman wrote: > I have a git repo that contains a Racket package. The repo also contains > other folders related to the package. How do I share the package on > pkgs.racket-lang.org without sharing (or just compiling/installing) the > other folders? > > > Say I ("bennn") own a repo "foo" with 2 folders, "pkg" and "other". I want > to put "pkg" on pkgs.racket-lang.org. > > - First, I tried changing the Source field of the package to reference " > github.com/bennn/foo/tree/master/pkg". Seems no different from " > github.com/bennn/foo". > > - I do not want to move "other" to a new repo. > > - My current solution is to put an info.rkt file at the top of my repo with: > > #lang info > > (define collection 'multi) > > (define setup-collects '("pkg")) > > (define compile-omit-paths '("other")) > > Both setup-collects and compile-omit-paths are necessary, for getting `raco > setup` and `raco pkg` to do the right thing. Is there a better way? > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] How to manage a Racket package within a Git repo?
Thank you! Is this documented / is there a good place to add a note in the docs? (Maybe the package server should have an FAQ link, besides just linking to docs.racket-lang.org ?) -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] How to manage a Racket package within a Git repo?
Great, thank you -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] How to manage a Racket package within a Git repo?
Although it's documented, I can add a note to http://docs.racket-lang.org/pkg/getting-started.html#%28part._github-deploy%29 which currently mentions branches but not subdirectories. Are there other places where you looked that could also use a note? At Wed, 23 Mar 2016 14:16:13 -0400, Jay McCarthy wrote: > The documentation for package sources is here: > > http://docs.racket-lang.org/pkg/Package_Concepts.html#%28part._concept~3asource > %29 > > You want the fifth bullet, on Git repos. > > Jay > > On Wed, Mar 23, 2016 at 2:13 PM, Benjamin Greenman > wrote: > > Thank you! > > > > Is this documented / is there a good place to add a note in the docs? > > (Maybe the package server should have an FAQ link, besides just linking to > > docs.racket-lang.org ?) > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Racket Users" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to racket-users+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Jay McCarthy > Associate Professor > PLT @ CS @ UMass Lowell > http://jeapostrophe.github.io > >"Wherefore, be not weary in well-doing, > for ye are laying the foundation of a great work. > And out of small things proceedeth that which is great." > - D&C 64:33 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] How to manage a Racket package within a Git repo?
The documentation for package sources is here: http://docs.racket-lang.org/pkg/Package_Concepts.html#%28part._concept~3asource%29 You want the fifth bullet, on Git repos. Jay On Wed, Mar 23, 2016 at 2:13 PM, Benjamin Greenman wrote: > Thank you! > > Is this documented / is there a good place to add a note in the docs? > (Maybe the package server should have an FAQ link, besides just linking to > docs.racket-lang.org ?) > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Jay McCarthy Associate Professor PLT @ CS @ UMass Lowell http://jeapostrophe.github.io "Wherefore, be not weary in well-doing, for ye are laying the foundation of a great work. And out of small things proceedeth that which is great." - D&C 64:33 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] How to manage a Racket package within a Git repo?
Ok, that would help On Wed, Mar 23, 2016 at 2:21 PM, Matthew Flatt wrote: > Are there other places where you looked that could also use a note? > Only pkgs.racket-lang.org, but I think the note in "getting started" should be enough. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.