0

Anyone know a way to automate sitecore rocks with TDS package building?

I've tried to create a solution where I read the pending TFS TDS items to get a list of sitecore .item files that are new or have updated. However, this needs to run with a sitecore context. I put the DLL into the instance but get a database configuration node error. Thought I might be able to create a sitecore rocks extension, but documentation seems, well, scant!

My end goal is to do a bunch of sitecore development and build any changed TFS .item files into a . update package with minimum fuss .. ie, click a single button!

Any ideas?

  • Are you trying to achieve delta deploys? There is alreadt a possibility in TDS. Take a look in this article -> reyrahadian.com/2017/10/20/… – Peter Procházka Jan 14 at 12:34
  • Yeah, kind of, but TDS has some limitations as it only works on the _updated field. Normally this is fine, but sometimes due to the choppy/changey nature of the project, I might create templates etc. say 6 weeks ago, shelve it, make more changes, then unshelve. I then find myself in a situation where a) I'm not sure when to set the changed after date and b) has more in it than I want to deploy – stuartw87 Jan 14 at 12:37
  • I think you're looking for TDS Git Delta Deploy instead. “Yet another Hedgehog Team Development for Sitecore setup, from Developer Workstation to CI / CD…” by Vincent Lui link.medium.com/U0eOYo7gtT – Vincent Lui Jan 14 at 12:51
  • Hey Vincent, looks like there could be elements in there that I could maybe pick out and utilize (specifically Hedgehog Package Installer). We're using TFS, not git, so I'll need some more research... but interesting article that could end up being used. ty – stuartw87 Jan 14 at 13:01
  • It should be possible. I never investigated TFS Delta Deploy as it's use is quite low compared to git. As long as you can execute commands to return changed files, it shouldn't be a terrible lift to convert Git Delta Deploy to TFS Delta Deploy. Search "GitDiff" to see where the commands are run: github.com/SaintSkeeta/TDS.BuildExtensions.GitDeltaDeploy/blob/… – jrap Jan 14 at 13:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.