workflow

Should change to code be committed separately from corresonding change to test suite?

北城余情 提交于 2019-12-21 03:43:10
问题 Should a code change and the corresponding change to the test suite be made in one commit, or split into two? Consider the case of a bug fix which causes a small change in the expected output, forcing a minor change in the test suite. It is extremely convenient to have both changes in the same commit, since it makes it obvious to the reviewer exactly what is changed in the output. On the other hand, sometimes you might just want to view the diffs to the source, or the diffs to the expected

Git - How to selectively apply changes from one branch to another?

醉酒当歌 提交于 2019-12-21 03:39:30
问题 Is it possible to selectively apply changes from one branch to another with Git? More specifically, I use a public dev branch for GitHub and a private master branch for deployment. When changes are made to one branch they will need to be applied to the other, but some lines of code need to stay different. In my case it's a few css classes and a feed. I'm new to Git but I've made my research : git merge --no-commit --no-ff can be used followed by a git mergetool to chose what I want in case of

Should I bother learning Windows Workflow?

和自甴很熟 提交于 2019-12-21 02:44:16
问题 Okay, so I've learned WPF and WCF and that was great. I didn't bother with CardSpace because it's probably not gonna take off. Should i bother with Workflow,..is it worth it? What's the big deal? 回答1: It is worth learning or at least understanding WF. WF offers a different paradigm for building apps, a paradigm which may become mainstream in the future. Enterprisey? Yes, maybe today. But longer term WF or at least the paradigm it promotes, may become ubiquitous and universal. Using Workflows

In sharepoint designer's workflow editor how do I get the workflow initiators username?

纵饮孤独 提交于 2019-12-21 01:11:11
问题 In Sharepoint designer's workflow editor I wish to retrieve the username/name of the work flow initiator (i.e. who kicked it off or triggered the workflow) - this is relatively easy to do using 3rd party products such as Nintex Workflow 2007 (where I would use something like {Common:Initiator}) - but I can't seem to find any way out of the box to do this using share point designer and MOSS 2007. Update It does not look like this rather obvious feature is supported OOTB, so I ended up writing

Git-based website deployment workflow

自古美人都是妖i 提交于 2019-12-20 23:59:08
问题 On my server, I have two users, www-data (which is used by nginx) and git . The git user owns a repository that contains my website's code, and the www-data user owns a clone of that repository (which serves as the webroot for nginx). I want to set up a workflow such that pushing to git 's repository causes www-data 's repository to update, thus updating my website. What is the correct way to set up the hooks for these repositories (that also takes into consideration privileges and

git & svn externals - a final solution yet?

亡梦爱人 提交于 2019-12-20 17:29:38
问题 this is the workflow I currently use for my svn projects (I never use svn branches, and some projects are actively worked on by other people as well): on the server, do the inital git svn fetch which might take hours. Also create a 'build' branch. on a development machine cloning is now fast: git clone srv://project.git, git checkout build followed by git update-refs ..., git svn fetch to restore the link to the svn repository work, commit, work commit, ... to check if things are sane, git

git & svn externals - a final solution yet?

自闭症网瘾萝莉.ら 提交于 2019-12-20 17:29:22
问题 this is the workflow I currently use for my svn projects (I never use svn branches, and some projects are actively worked on by other people as well): on the server, do the inital git svn fetch which might take hours. Also create a 'build' branch. on a development machine cloning is now fast: git clone srv://project.git, git checkout build followed by git update-refs ..., git svn fetch to restore the link to the svn repository work, commit, work commit, ... to check if things are sane, git

Which Workflow Engine do you recommend? [closed]

别说谁变了你拦得住时间么 提交于 2019-12-20 16:53:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am kicking around the idea of using a workflow engine on this upcoming project. We know that there is a lot of caveats with using a workflow engine and we have a lot of development experience in many platforms so we would be willing to let the choice of workflow engine take precedence over our favorite toolset

RESTful API: Where should I code my workflow?

↘锁芯ラ 提交于 2019-12-20 12:15:56
问题 I am developing a RESTful API. This is my first API, but also my first really big coding project. As such, I'm still learning a lot about architecture etc. Currently, I have my api setup in the following layers: HTTP Layer Resource Layer Domain Model / Business Logic Layer Data Access / Repository Layer Persistent Storage / DB Layer The issue I have run into at the moment is where do I need to put workflow objects / managers? By workflows, I mean code that evaluates what next step is required

Git workflow (Dev>Staging>Live) basic technical questions

血红的双手。 提交于 2019-12-20 10:23:57
问题 I'm quite new to Git (and VC for that matter) and I'm struggling a bit to understand the concept behind the Dev>Staging>Live workflow using branches. I'm trying to apply part of this workflow, that uses dev branches and release branches instead of a fixed staging . Before trying to use Git, I had the "same" workflow using SVN. But instead of creating branches for each stage, we used separated repositories for it. Now that I'm trying to apply branches, things are getting a bit blurry. I can