I am using ClearCase. I have created a snapshot view to release two issues.
For issue1 I have created Label1.
For issue2 I have created Label2 on the same branch.
Now problem is Label2 shows changes from both issue1 and issue2.
Is there a way we can avoid this, so that Label2 has changes only for issue2 and Label1 has changes only for issue1?
Is this possible, or is there any other way to achieve this?
If you have two separate issues that you want to consider separately, it is best to isolate them in their own respective branches.
Create two branches from a common ancestor (a point in time before working on either issue)
in branch Issue1, report your modifications dedicated to issue 1: you can then set the label Label1.
in branch Issue2, report your modifications dedicated to issue 2: you can then set the label Label2 without worrying about issue 1.
If having two branches (and two views) is not practical, then you would have to look for all versions not labelled Issue1 in order to set your Label2:
cleartool find . -cview -version !lbtype(Label1) -exec "cleartool mklabel Label2 \"%CLEARCASE_XPN%\""
Or you would need to find versions labelled both Label1 and Label2, and remove the Label2 one:
cleartool find . -cview -version "lbtype(Label1) && lbtype(Label2)" -exec "cleartool rmlabel Label2 \"%CLEARCASE_XPN%\""
Related
I created a report (.rptdesign) in eclipse/BIRT and added a Grid and some rows in it. I want to change the rowSpan of 1st cell in 1st row to 3. But in properties window, the property is 1:inherited and won't allow me to edit the value. I tried different combinations of width and height (in, %..) and other properties but can't figure out this behavior.
I spent hours and there is barely any resource available online or on official site. Any help is appreciated. Thanks.
when you create a grid with rows- all cells are equal in width. Now what you can do is merge the cells together that will create the rowspan/colspan like this -
Please click on image to see steps
After merging it will look like this -
You can get more information here : eclipse help
You just mark several cells in the layout editor, then "merge cells" in the context menu. To split a block of merged cells again, use "split cells" in the context menu.
I created a project board in GitHub using default Kanaban. I've added my own column, but it isn't reflected in the project progress bar. Only To-Do, In-Progress & Done are reflected and it is bugging me out. Is there a way to reflect the new columns in the project bar too? Thanks.
( For context purpose: The progress bar is the one with project's name and shows the columns relative status with respect to the number of cards in the columns. White -> Todo, Purple -> In Progress, Green -> Done. )
https://help.github.com/articles/about-project-boards
I tried fiddling around automation properties of the columns (I didn't work as I expected). In project properties, I've unchecked & again checked the show progress bar column. But it is still showing the original three columns and not the new ones.
expected:
progress-bar -> x-done / y-in progress / z - custom / ... / a-to-do
actual:
progress-bar -> x-done / y-in progress / z-to do
According to my fiddling with the GitHub project board, the progress bar shows the (sum of the) amount of items in columns marked with an automation preset (To do, In progress, Done).
Columns with automation preset "None" are not shown in the progress bar.
I don't think you are able to add more presets to create your expected progress bar x-done / y-in progress/ z-custom / ... / a-to-do. At least not yet, although I checked 2 years after the question was posted.
You can, however, definitely do something like x-done / y-in progress + z-custom / a-to-do by setting the custom column's automation preset to "In progress".
To elaborate on #hilipati's answer: no, GitHub only takes into account "To do", "In progress", and "Done" columns. However, if you set the column's automation to one of the above presets, it will count. So, for example, you can split the "In progress" column into two columns -- one for new PRs and another for reviewed PRs, and both will count towards the "In progress" (purple) section of the progress bar.
Once an iteration's work item content has been decided on, is there any way in VSTS to prevent additional work from being added? I would ideally like to lock down the ability to add content to an iteration to a few individuals (so that Product cannot sneak some items in). If this is not possible, is there an easy way to check daily whether the content of the iteration has remained the same? Thanks!
I don't think it is possible to "draw a line in the sand" as it were.
To track additional work in an iteration you can do something like this:
Create a Work Item Query to find all WI's in the iteration you want.
Save it
Goto the Charts tab
Add a "line" chart.
Set "group by" to "iteration path".
Pick a suitable date range.
Pin this chart to your homepage.
Here's my config and chart for my dummy data.
As you can see today, I moved more work into Iterations 1 and 2 and moved work out of the Backlog Iteration
I don't think it is possible to "draw a line in the sand" as it were.
You could setup an Alert for Work Item changes that include the Iteration Path changing to the one you want people to stop using.
Click the Settings "Cog" and then Notifications:
Select "New Subscription"
Work and Work Item Changed
Next
Add new Clause
And select "And", "Iteration Path", "Changes to", "my problematic iteration"
Finish
.
I'm using MATLAB to generate 'phytrees' and I need to simplify them.
The way I thought is by removing subtrees where all the node has the same value and keep only this value + a number that represent how many nodes were deleted.
For example, here is one of the trees:
and I want to replace the subtrees that have the same values like here:
Is there a way to do so?
I did not find a programmatic way to do it, but from the picture you attached I see that you use plot to view your figure. If instead, you'll use the phytreeviewer (just type view(your_phylotree)) you'll get a different figure window, with other related tools.
Specifically, you'll see the Collapse branch button , and the Rename branch button , which will together get you exactly what you want. The first "removing subtrees" (actually hiding them), and the second lets you change the branch name to "value + a number".
You can do all this also by simply right-clicking in the relevant brunch:
Here is an example with data from the docs:
% bulding some tree:
seqs = fastaread('pf00002.fa');
distances = seqpdist(seqs,'method','jukes-cantor','indels','pair');
phylotree = seqneighjoin(distances,'equivar',seqs);
view(phylotree)
After some collapsing and renaming on this tree, and printing it to a figure (with right click on the most top branch, or the root, that you want to include in the figure), I got:
Also, note that every time you hover with the mouse on a branch (even if collapsed) you get a list of the Leafs in that branch and their count:
What's the difference between Detail.Visible = False and LayoutAction = LayoutAction.NextRecord if the intention is to skip a row conditionally?
Excellent question! The LayoutAction property is a way to control both the navigation through the record and the layout of the section on the page. Under normal circumstances, without modifying LayoutAction setting, during the processing of each record three actions are taken (on the left is the name of the LayoutAction enum value, on the right is a description in my own words):
PrintSection: Print the current section details in the current location on the page.
MoveLayout: Move the layout to the next position, so that the next record will print in the next position and not on top of the current one.
NextRecord: Move the record cursor/pointer to the next record. Again, so that the next instance of the section will be bound to the next record.
So normally, if you don't mess with the LayoutAction property, all three actions are taken. The LayoutAction property allows you to prevent any of those actions from happening.
Frankly speaking though, this is left over from the old days and was used to solve very complex layout scenarios. For example, in the ActiveReports-ActiveX days in VB6 we used it (along with some very sophisticated code) to print a data-bound calendar. Since these days there are calendar controls you can embed into the reports, and ActiveReports includes many other sophisticated layout settings LayoutAction is pretty much never used.
Obviously, the Section's Visible property just hides the section and doesn't take up space for it (so it doesn't move layout and it doesn't print it). Generally Visible is useful LayoutAction isn't.
i'm setting LayoutAction but it seems to not work.
LayoutAction = 7
ERROR: (ActiveReport) 5800: Source: Report , Event: OnFetchData , Line number: 564 Description:Variable is undefined: 'LayoutAction'
and
Me.LayoutAction = 7
gives
ERROR: (ActiveReport) 5800: Source: Report , Event: OnFetchData , Line number: 564 Description:Object doesn't support this property or method: 'Me.LayoutAction'
i'm using vbscript activereports 2 "embedded" in an ERP application (Agresso 5.5)