In TFS, is it possible to attach a non-versioned file to a pull request? We use pull requests as documentation of code review and would like to attach proof of testing to pull requests so the evidence is all in the same place.
Our proof of integration testing is usually as a PDF with attached screenshots, hence the question.
We are using TFS Version 16.122.27102.1.
Yes, if you mean attach the non-source controlled files in pull request comments, it's Markdown supported.
Attachments
In pull request comments and wiki pages, you can attach files to
illustrate your point or to give more detailed reasoning behind your
suggestions. To attach a file, drag and drop it into the comment field
or wiki page edit experience. You can also select the paper-clip icon
in the upper-right of the comment box or the format pane in wiki page.
Related
I'd like to make an HTTP request to Github and display a text file given a link to the repo.
I had trouble finding out anything about this regarding Github's API but that could just be because it's a slightly niche thing.
See this website, the files are hosted on Github and the way you add a post is by providing a link to the repo.
I am trying to generate specflow mstestexecution report with the screenshots path mentioned as link. I made use of Console.Writeline() to mention the screenshots path but its getting dispalyed as text in the report. Please provide your inputs on the same.
The HTML report sees everything as plain text even if you use HTML tags. This is by design. You can change the behaviour of specflow.exe yourself, it is an open source project on GitHub.
When you don't want to dive to deep into that, you need a more ugly work around: You could consider to tag your links with another token (like {img} instead of ) and than search and replace in the .html file for all {img} to for example.
I remember back in Plone 2 days I found a simple hack to make one CMFPhoto folder receive webdav files as images (and show them as a gallery).
In Plone4 the images are received as content type files which are not very useful.
Other mass uploading options seem not to be updated to recent versions of Zope/Plone, except uploadify, which makes my server unable to start when installed with buildout.
Functioning webdav would be ideal
Thanks for any ideas, although I can't say I have understood the framework enough to use just a hint
Steen
The short answer is that you need to take a look in the Content Type Registry tool within your site and figure out the settings related to the image (png, jpg) extensions and mime-type that are configured for your site. Visit the Zope Management Interface of your site, and go to ./content_type_registry in he root of your site to take a look.
The more complicated answer is that folders in Plone have a method called PUT_factory() that controls what items get created as. Different folder types can behave differently, but all stock folder types in Plone and most add-ons should obey (unless a bug) the settings in the Content Type Registry.
I'm using joomla 1.6 to develop a website also i'm beginner to joomla. I need to attach one or more pdf files with the article. Any one can please help me to attach file with article and how to get this attachment in frontend. Please help any one how to do that. I tried with phoco download and attachments plugin. But i don't
One way to do this is to log into administration and edit your article in Content Items Manager. With the editor you can insert a link. When you do, click on Shared Documents and then upload the pdf you want to attach.
In your article, you need to use your insert/edit link, in the Link URL section enter the full link of where the pdf is found e.g. www.yourdomainname/images/myfile.pdf. It is always advised to open the pdf in a new window so you can set that in the insert/edit link. Hope this helps.
Our team is in the process of begining a project which is being managed using TFS. Several requiremens which existed only in Word documents are being migrated to TFS work items. The Word documents contain various diagrams and images which we need included in the work item, specifically under the 'Details' and 'Analysis' tabs. The problem is that images cannot be pasted into these tabs as images.
The only option to add images to the work item appears to be as an attachment.
Could someone confirm this?
Any assistance is appreciated.
The below steps worked for our team:
1- I added a *.png file as an attachment
2- Opened that *.png file within IE from the attachments tab
NOTE: Once the image opens in IE the address should be something like
the below:
http://tfs.mysite.com:8080/tfs/defaultcollection/WorkItemTracking/v2.0/AttachFileHandler.ashx?FileID=1234567&FileName=TFS-12345-QA.PNG
If the address has "c:\etc" which is locally stored then it will not
work. The image has to be network accessible so other team members may see it in TFS.
3- Right click the image and select copy
4- Now within TFS under the "History" tab where you're entering your notes paste the image
5- Save the workitem and that is it.
Cheers!
You can change the text boxes to accept HTML, but that may still require the image to be hosted elsewhere.
HowTo: http://msmvps.com/blogs/vstsblog/archive/2009/01/11/using-rich-html-descriptions-instead-of-plain-text.aspx
It may also be best to just link to the existing document. We have to do this for now, because we have a large repository of existing documentation that no-one wants to bother converting.
Using the stock workitem this is true. You can extend the workitem display within the team explorer with your own custom controls that could display an attachment inline, but this won't be a small effort.
There are samples and guidance here
We write our Word documents, save them as filtered HTML and copy file and folder containing the images onto the server hosting the TFS. We then open the html from the server version in a browser and copy/paste requirements into the work items description field. Is a workaround, would be much nicer being able to directly copy/paste images into a workitem, but at least it works.