workflow

temporary commit on complex merge

不羁岁月 提交于 2019-12-06 13:41:31
问题 I have two branches master which is the main branch and feature_branch_1 which is very old and many commits behind the master. I need to merge feature_branch_1 into master, so I did: git pull --rebase origin master As expected there are tons of conflicts, soon after there was a need to develop another feature on a new feature_branch_2 and this is against the HEAD of master and definitely needs to be worked on before feature_branch_1 . Being more or less in the middle of the complex merge, how

Syncing website files between local and live servers using GIT?

北慕城南 提交于 2019-12-06 13:22:49
Say I have two web servers, one local development and one live. Under SVN I would checkout the website files to my local webserver's public_html directory and also to the live webserver's public_html directory. I would then work on the files directly on the local server and commit any changes to the central repository. When I'm ready for those changes to go live on the live server, I would SSH in and perform an SVN update. Essentially I have two working copies, one on live and one locally, though other users may also have working copies on their local machines. But there will only ever be one

Rehosted Microsoft Workflow Designer UI

让人想犯罪 __ 提交于 2019-12-06 12:54:13
问题 I have recently created a rehosted Workflow Designer application and noticed that the UI looks outdated when compared with how it looks in Visual Studio. Does anyone know which could be the problem? No matter what version of .NET I'm using (for example 4.6 or 4.7), the UI still doesn't update. I have also followed the next article to enable Workflow 4.5 features, but without any success on the UI side. (WF4.5) Enabling new .Net framework 4.5 features in your rehosted designer application

Kaleo workflow in custom portlet

南楼画角 提交于 2019-12-06 12:23:13
问题 Steps to create kaleo workflow in custom portlet Liferay 6.1.1 GA2. Hi, I am new to liferay. I am using Liferay 6.1.1 GA2 version. Can somebody please provide me the steps to create workflow in custom portlets with some workable samples. Thanks in advance. 回答1: Add entity in service.xml regarding your workflow portlet. i.e <entity name="XXWorkflow" local-service="true" remote-service="false"> <!-- PK fields --> <column name="workflowId" type="long" primary="true" /> <!-- Foreign key columns -

How to manage multiple versions of the same record

ⅰ亾dé卋堺 提交于 2019-12-06 11:46:07
问题 I am doing short-term contract work for a company that is trying to implement a check-in/check-out type of workflow for their database records. Here's how it should work... A user creates a new entity within the application. There are about 20 related tables that will be populated in addition to the main entity table. Once the entity is created the user will mark it as the master. Another user can make changes to the master only by "checking out" the entity. Multiple users can checkout the

How do I fix a bug in a previous release version via mercurial?

非 Y 不嫁゛ 提交于 2019-12-06 11:09:12
问题 We are using mercurial in a single repository. We have a master branch and a develop branch (as well as feature branches, but they aren't germane to the issue at hand). We tag the master branch with releases (5.1.0.102, etc). We do our development on develop . But now we want to fix a bug in a previous version. There are a lot of questions here on SO about this issue, but none of them seem to explain what I want to do. What I want to do is this: Update to the point where we released (say 6.1

Github原生CI/CD,初尝Github Actions

♀尐吖头ヾ 提交于 2019-12-06 11:06:48
Github 原生 CI/CD,初尝 Github Actions Intro Github 目前已经推出了自己的 CICD 服务 —— Github Actions,而且比微软的 Azure DevOps Pipelines 对开发者来说更友好,使用起来更好用。 Github Actions 核心概念 总体看下来感觉是从 Azure Pipelines 迁移过来的东西,有许多概念和 Azure Pipelines 是类似的,如果你之前用过 azure pipelines,应该很容易上手 Runner 用来跑 cicd build 的服务器 Github Hosted Runner Github 官方提供的 Runner Self-Hosted Runner 用自己的服务器作为 Runner Workflow 定义 CI/CD 的流程,需要执行哪些操作,需要做什么 Workflow 定义 workflow 的配置文件,通常放在项目根目录下的 .github/workflows 文件夹下 Workflow Run 每一次 CI/CD build Event 触发 ci/cd build 的事件,如 push/issue/pr Job 由一系列 Step 组成,Job 可以并行执行也可以串行执行,每一个 Job 都是一个新的环境 Step 对应 Job 执行的每一个步骤 Action

Workflow design advice for ASP.Net web application?

痴心易碎 提交于 2019-12-06 10:41:58
问题 My team has been tasked with designing a web application that is workflow driven. I need some advice regarding the design. The workflows need to be dynamic. Meaning, users can define the workflows through some interface and apply those workflows to a given scenario (The definitions will live in a SQL 2008 Database). The scenarios are defined by the business and will never change. So there may be only 2 types of scenarios a workflow can be defined for. The workflows are not necessarily linear.

Chef workflow for new cookbooks

穿精又带淫゛_ 提交于 2019-12-06 08:37:04
问题 While building my own cookbooks I find myself constantly within this cycle: Change cookbook on my local computer Upload modified cookbook to chef server Run chef-client on remote machine Repeat Since I am new to chef, I repeat that cycle extremely often, but I find rather cumbersome uploading and downloading so frequently from the chef server. How experienced chef users ease this cycle? I learnt Chef with the free hosted solution, but I am not sure if I should be better off using just Chef

Configuring Hudson/Jenkins for staging and production

巧了我就是萌 提交于 2019-12-06 08:28:24
How do I configure Hudson/Jenkins to production and staging deploy with the same configuration? I have a build and deploy workflow configured in Jenkins to do production pushes. Now I need to use the same configuration to do a staging push, expect that couple of folder & DB names will change to reflect stage. I.e. Say from /var/prod/html to /var/stage/html and db from companyname_table to companyname_table_stage . I don’t want to do a copy of the configuration since I may have to change the configuration in one place then I will have to make duplicate changes to every copy. Ideally I want to