-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build from repository #18
Comments
Yeah, I'm definitely interested in supporting something complementary at desk's layer. Thanks for the detailed write-up of your thoughts. I've been drafting a behavior to facilitate easy sharing of project-specfic deskfiles that may dovetail with your flow. Imagine a convention where we had Question there is: some (maybe most) deskfiles start off with a One option would be to support some comment syntax for saying "this is a project deskfile; if it's symlinked, read the link and
So then when you What do you make of the above? Would it be useful for your wrapper? I think your instinct is right with regard to the caveats you list: at some point I'd like to be able to optionally recognize git (and other vcs) if it's easy, but I definitely don't want to take on any dependencies in doing so. It requires some more thought, but I think there's potential there. |
I like this approach better for the general use-case. It doesn't really match what I'd be able to do immediately as I'm the only one evaluating desk at my company at the moment and it might be a hard sell to place another file at source root (to live with grunt, npm, composer, bower, etc). However, I could easily get my wrapper script to 'inject' the deskfile into the project after checkout and then follow the same flow you describe after that point. I can't think of a way to infer things like the project directory or the name of the project that aren't fraught with special cases or magic. In any case, I'm not opposed to optionally specifying the name and root directory, but we'd just have to be careful to not require too much configuration right off the bat. |
I also think some sort of project specific setup would be really useful. Why not just get desk to search for the deskfile in the current directory first, then if it doesn't exist look in That would resolve the |
@TristanBurnside: +1 |
Sounds good -- I'll throw together an implementation for that pretty soon. |
Just for the sake of context: I'm building a bit of a wrapper project around this that will handle auto-configuration of projects. My workflow, in general, is to
ant
)rsync
to a remote server (sometimes)While the majority of that doesn't fit in with the philosophy of desk and is really specific to my workflow, the bit about checking out from a repository might be. I'm envisioning something like
Where you would previously configure where you want the projects to live (like configuring where you want the deskfiles to live).
This would create some stub deskfile (desk-name.sh) and do the
git clone
in your project directory.The biggest things that I'd see with this are:
Maybe not ideal as laid out here, but potentially could be hammered into something useful 😄 I'd like to hear your thoughts on this, @jamesob.
The text was updated successfully, but these errors were encountered: