workflow

How to create custom Field with transition workflow in TFS

拈花ヽ惹草 提交于 2019-12-23 21:05:00
问题 How to create a custom field in TFS having transitions for each values for e.g. I want to create a new custom field say Custom Status with values New,Approved,Assigned,Work Started and also want to assign custom transitions for this field Is it possible to do so ? 2) Is it possible to assign some transitions to some other existing field for e.g. Priority 回答1: No, it is not possible. The only field that can have transmissions is the state field. You can have the state transitions influence

Can Apache Oozie run docker containers?

你。 提交于 2019-12-23 20:22:37
问题 Currently comparing DAG-based workflow tools like Airflow and Luigi for scheduling generic docker containers as well as Spark jobs. Can Apache Oozie run generic Docker containers through its shell action? Or is Oozie strictly meant for Hadoop tools like Pig and Hive? Oozie is integrated with the rest of the Hadoop stack supporting several types of Hadoop jobs out of the box (such as Java map-reduce, Streaming map-reduce, Pig, Hive, Sqoop and Distcp) as well as system specific jobs (such as

Jump to CSS definition when editing HTML in VIM

∥☆過路亽.° 提交于 2019-12-23 19:26:24
问题 For example I am editing index.html or index.php in VIM and I have the following code in there: <div id="header"> // some code </div> When I move my cursor to the word header I want to jump to the position in my CSS-file where the tag (id/class) is defined. ctags doesnt work with this. Thx for advise! 回答1: You could try to patch ctags so that it supports CSS. This guy explains how but I have no idea if it works or not. I'll probably give this solution a try very soon as I think this feature

Git/Eclipse Workflow

北战南征 提交于 2019-12-23 17:54:34
问题 I use Eclipse to edit Java, and use Git for my VCS. Should I have my local repository in my workspace, or outside it, and copy the files every time I want to commit? I know I can do it every way, but I'm new to Git, and wondering which way is better. 回答1: I just have the local repository in the workspace. I'm not sure why you'd want to keep the two separate - why create extra work for yourself? Code, commit; code, commit... (where "code" includes tests of course) 回答2: The best practice at the

Is there a downside to this Mercurial workflow: named branch “dead” head?

為{幸葍}努か 提交于 2019-12-23 10:24:09
问题 I love the flexibility of named branches but I have some concerns about the prolifieration of heads. Even when the branch is closed, it still shows up in the heads. I have an idea for how to clean up the output from "hg heads" My question to the gurus: "What am I missing?" First off you may ask, Why might I want to totally hide the head of a named branch? For various reasons: the feature is a bad idea the feature is a good idea that is not ready for merging to tip, but maybe in a few months

Can't set workflow and workflow state properties on sitecore items

岁酱吖の 提交于 2019-12-23 08:55:05
问题 I am currently working on a project that requires me to set up a very simple sitecore workflow. I am running into some difficulties when modifying the existing items to use my new workflow. This is what i did: The workflow creates a new version when a contentmanager starts editing an item and publishes the item when the submit button is clicked. I added these workflow items to the standard values of my templates: The next step would be to set the workflow settings on the already existing

which design pattern is suitable for this workflow requirement?

杀马特。学长 韩版系。学妹 提交于 2019-12-23 04:53:26
问题 I have a requirement where in I have a set of jobs to be executed from the screen (each job could take hours to execute) and I need to put some rules in place to execute those jobs. it can be represented using a graph. each job is given a sequence number and jobs should be executed in sequence however there are set of jobs that can be run in any order and each of them may have a path of their own. for example once A and B are finished, D, E, F can be run in any order, but there can be a rule

Lazy parameter binding in Python

社会主义新天地 提交于 2019-12-23 04:21:57
问题 I tried to design a workflow using composite pattern , the sample codes looks like this: class CommandInterface(object): def __init__(self, name, template=None, tool=None, param : dict={},input=None, output=None ): self.name = name self.input = input self.output = output self.param = param self.template = template def before_invoke(self): pass # check before invoke def invoke(self): pass def after_invoke(self): pass # check after invoke class ShellCommand(CommandInterface): def render(self):

Git flow - managing differences between master and develop

对着背影说爱祢 提交于 2019-12-23 03:36:07
问题 I've been using Git Flow for a little while now, however in the initial week or so I was creating release branches manually from master and cherry picking the required commits into the release branch rather than creating them from master. For example, if I have commit abcd123 My commit message in the develop branch, I had also cherry picked it into the release branch manually, and at this point I had probably amended or edited the commit message, so the release branch (and now master branch)

sharing features or not in git flow?

牧云@^-^@ 提交于 2019-12-23 02:32:28
问题 In development, we often come across a scenario like this: In a MVC web development, stuff A may mainly develop View, while stuff B may mainly develop Controller, then a feature branch like feature/account maybe shared by A and B to cooperate the development of account. If we manage feature branches like above: Question 1: Is it recommended that sharing feature branches between stuffs between stuffs? There's another way to manage feature branches, like this: stuff A manage a branch named