Distribute open source project via Visual Studio Team Services - tfs

I use Visual Studio Team Services (visualstudio.com) for all of my source control. I would like to make a couple of my projects open source and grant public access to download the source. Does anyone know if there is a way to configure a Visual Studio Team Services project to facilitate this? Specifically, I would need a way to grant read access to everyone, but keep write access restricted.

At the time of writing, this is not possible, but I created a UserVoice request for it. So if you want it, go and vote for it.
http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3701461-in-team-foundation-service-allow-projects-to-be-

I don't believe you can grant access to "everyone". I don't believe there is a concept of "everyone" in the hosted system.

As discerns says, this is not possible right now. CodePlex would be the thing to use for Open Source projects based on TFS.

Related

Can't see project in Source Control Explorer

I'm trying to download my project from Visual Studio Online (TFS), but I can't see one project in list. I have two accounts, main and secondary. I'm trying to get project using secondary account. Both users have Administrator permission on this project. Also, other projects, that I see in list, have same permissions with this account. I see this project on web-site (my_organization.visualstudio.com), but it is not in Visual Studio, in Source Control Explorer. Need some help - is there any bug, or I'm doing something wrong..? Thanks
Stackoverflow is mainly handling issues’ open forum while your current question is organization identity/account issue targeting to Azure DevOps, which need assistance of the product group. Thus the best contact channel is here: https://developercommunity2.visualstudio.com/report?entry=problem&space=21, the product support engineer will then contact the product group and offer efficient assistance. Thanks for your understanding.
BTW, you could refer to this doc: Set repository permissions for Git or TFVC to check your account's repository permissions in this project.

Find my checked out files in other workspaces using TFS

I develop using VS2015 and TFS local workspaces on 2 machines. Right now I have no access to one of them and I'd like to be sure that I have no checked out files on the inaccessible machine.
Being myself the only user it would be enough to know whether there are files checked out by anyone.
Is there a way to do that?
Thanks
I commonly have this use case both for myself and trying to find what files other users have checked out. The free Team Foundation Sidekicks tools are great for this:

using both Visual Studio Team Services and Codeplex for repository

I started a utilities project in Visual Studio Team Services where you could have multiple developers on a project, but ended up not needing the extra developers, but still liked the Visual Studio Team Services interfaces. I wanted to be able to share some of the projects I do to people that read my blog, but found out after I was using it for a while that I could not give access to the public (or at least I couldn't find away). I know Codeplex allows you to do this since it is specifically for open source projects.
Is there any way to keep the Visual Studio Team Services and the TFS on Codeplex in sync so I can work from one source control primarily? or even better, is there a way to publicly share by URL stuff you work on Visual Studio Team Services?
There is not currently a way to share any Team Services content publicly.
However, if you use Git as your VCS in Team Services you can easily add two Origins and push to both with "git push -all".
If your codeplex repo is also git you can easily share.

Do custom check-in policies have to be deployed on the server at all?

I'm asking this question because I haven't seen it documented anywhere.
We are using a combination of Team Foundation Server 2008 and Team Explorer 2005.
Is it possible to deploy a custom check-in policy that works in such an environment ?
Obviously, the custom check-in policy contains some code that must run on the client-side (in order to display help, etc.). So it should use the Microsoft.TeamFoundation.VersionControl.Client assembly that comes with Team Explorer 2005.
But, my sense tells me that, in order to be effective, a check-in policy should be enforced on the server itself (for example, to support checking-in changes from the command-line or using the raw Web Services API). So, there, it would have to run against the Microsoft.TeamFoundation.VersionControl.Client that comes with Team Foundation Server 2008.
So, is it possible to build a single custom check-in policy that takes the most recent version the Microsoft.TeamFoundation.VersionControl.Client assembly (2005 on the client and 2008 on the server)?
Or do I have to build two custom check-in policies, one for the client and one for the server ? Would that even work ?
Or do custom check-in policies only ever exist on the client side ?
The custom check-in policies only exist at client-side, and will only be evaluated client-side. If the DLL is missing on the client computer, TFS will complain, but provide a dialog that allows the user to override the error and check in anyways.
No, it's not required. However, it makes things much easier. Using the latest Power Tools you can store check-in policies in source control and have them deployed for "free."
A walkthru with screenshots is on Brian's blog:
....Since the day we introduced those features, customers have asked for a way to distribute custom components like these to clients rather than having to manually install them. Well, I'm happy to say that this new release of the Power Tools does just that!
Due to the fact that downloading custom components and running them on clients can be dangerous, there's a fair amount of care taken and some configuration necessary to enable it. Custom components for a Team Project are checked in to a new "special" folder called $//TeamProjectConfiguration. Let me show you a few screen shots and that will help walk you through how this works....

TFS source viewer in project portal

We're using TFS as source control provider and for the project management (documents, ...). Maybe I missed something completely, but is there a possibilty to view source code directly from the project portal? I know that source code is not stored there, but does there exist a 3rd-party viewer or something? It would be nice sometimes not to simply have a quick look at the source files without retrieving them from TFS.
Any ideas/tools/addins?
Thanks for any hints
You can try Team System Web Access.
It is standalone portal which enables you to see source, work items, reports, documents, builds etc. Like from Team explorer integrated in Visual Studio.
alt text http://msdn.microsoft.com/en-us/teamsystem/bb676728.TeamSystemWebAccess(en-us,MSDN.10).png

Resources