sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Click once deployment does not put manifest and setup files in previous versions folders.

Open shane-powell opened this issue 5 years ago • 12 comments

When using click once on .Net Framework projects (Not .net core) we used to rollback an app simply by copying the manifest file from the version we wanted to roll back to into the main publish folder.

With the .Net Core click once deployment it does not create the manifest file or the setup exe in the previous versions folders with the folder Application Files. This means that in order to rollback in the way we used to we have to manually move those two files into the the folder of the previous version to back them up for future use.

I have tried overwriting a new publish with just these two files and it does cause the app to rollback successfully.

Is there now an new way to rollback an app version or is it a bug that these files are not copied anymore?

shane-powell avatar Mar 31 '21 13:03 shane-powell

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

ghost avatar Mar 31 '21 13:03 ghost

@sujitnayak

wli3 avatar Apr 02 '21 03:04 wli3

@maryamariyan i am seeing the bot having trouble guessing the label quite often in the SDK repo.

danmoseley avatar Apr 02 '21 04:04 danmoseley

This is intentional. The issue labeler is setup for dotnet/sdk since January, and is only adding untriaged label and as an encouragement, it posts comments above to remind folks to manually add area labels.

Once there is enough (issues/PRs with area label) to train with, upon request, I could set up a model for it.

cc: @marcpopMSFT

maryamariyan avatar Apr 02 '21 19:04 maryamariyan

My guess is that there's probably enough now that it's worth a try. Unless maybe @marcpopMSFT would like to do some "keyword search and bulk labeling" first. But, I'm just a user 😀

danmoseley avatar Apr 02 '21 21:04 danmoseley

I've been trying to label during triage as much as I can. @maryamariyan , is there a way to tell if we've labeled enough for the model to make a best guess or how much more we should label before trying to turn tha ton?

marcpopMSFT avatar Apr 05 '21 22:04 marcpopMSFT

My bad. I should not have assumed there was enough labeled without actually looking. I see some areas have zero labels and the largest one has only 20. . Clearly zero doesn't help at all and I'm guessing 20 isn't ideal.

@marcpopMSFT what I was suggesting is that you could search your issues for some keyword that is highly correlated with a particular area. Eg., "ILLink" is probably highly correlated with "Area-ILLink". so you could search for "illink" and mark some or all of those with "Area-ILLink". (Potentially just multiselect.) Then similarly for other keywords until you have many (30? 50?) examples labeled for each area label. That could be enough to get going - we do this in dotnet/runtime when we want to "bootstrap" a new area or split one up. If you do this, you could probably get the bot started much sooner than if you just label as they come in to triage.

BTW, looking at your labels, I wonder whether some might be inevitably hard to guess because they are different 'dimensions'. Eg., would a linker issue that is reported on Mac be "Area-ILLink" ? or "Area-MacOS"? In dotnet/runtime, we don't guess the OS or architecture- those are separate labels (eg., "os-Linux", "arch-x64") that we currently apply manually. We reserve area labels for essentially segments of our codebase.

danmoseley avatar Apr 06 '21 00:04 danmoseley

I had done some queries initially to label things but it was really hard from titles alone (your ilink example, I wasn't confident on most of them and was trying to avoid going into descriptions to figure out if it was ilink or not. I've found during triage that architecture often can be used to know if we should route issues elsewhere (like arm64 usually goes to runtime and linux usually goes to deployment team). Hence I included them as labels with the goal that eventually the auto labeler would help us pre-triage.

marcpopMSFT avatar Apr 06 '21 00:04 marcpopMSFT

That works so long as the labeler can reasonably infer based on the text (and zero knowledge of the domain or anything else of course) what label it should have -- and it is not either entirely unclear what label, or difficult to separate two good possibilities. Otherwise, you'll need to consider a different set of labels to make labeling feasible (or not use the labeler).

danmoseley avatar Apr 07 '21 00:04 danmoseley

@marcpopMSFT I think a good next step is to make sure each area label has (a set of) issues/PRs associated with it (rather than zero, because zero means those labels are effectively invisible to the labeler).

If you feel like labeling PRs is faster/easier than issues (because of more hints from file changes), maybe we could start from enabling labeler for PRs first.

maryamariyan avatar Apr 07 '21 02:04 maryamariyan

@maryamariyan I went through all the Area labels and added a bunch. There are still around 7 with fewer than 10 issues as it was hard to search. I'm willing to delete a few of those if that'll help the labeler (the smallest were install and macos) but I tried to make sure I got at least 10 for most of the labels.

marcpopMSFT avatar Apr 15 '21 23:04 marcpopMSFT

Due to lack of recent activity, this issue has been labeled as 'Stale'. It will be closed if no further activity occurs within 30 more days. Any new comment will remove the label.

github-actions[bot] avatar Apr 17 '26 05:04 github-actions[bot]