Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jul 01 17:23

    RickStrahl on main

    Update Changelog.md (compare)

  • Jun 30 21:39
    RickStrahl labeled #963
  • Jun 30 21:39
    RickStrahl labeled #963
  • Jun 30 21:38
    RickStrahl closed #959
  • Jun 30 21:38
    RickStrahl closed #961
  • Jun 30 21:38
    RickStrahl closed #962
  • Jun 30 21:36

    RickStrahl on 2.6

    (compare)

  • Jun 30 21:34

    RickStrahl on main

    Update Changelog.md (compare)

  • Jun 29 21:26

    RickStrahl on main

    Update Changelog.md (compare)

  • Jun 29 21:22

    RickStrahl on main

    Update Changelog.md Update Changelog.md Update Changelog.md (compare)

  • Jun 29 19:13
    RickStrahl closed #967
  • Jun 29 19:13
    RickStrahl commented #967
  • Jun 29 19:10
    RickStrahl labeled #967
  • Jun 29 19:10
    RickStrahl labeled #967
  • Jun 29 14:01
    Philippe91 opened #967
  • Jun 28 23:24

    dependabot[bot] on nuget

    (compare)

  • Jun 28 23:24
    dependabot[bot] commented #966
  • Jun 28 23:24
    RickStrahl closed #966
  • Jun 28 21:23

    RickStrahl on master

    (compare)

  • Jun 28 21:23

    RickStrahl on main

    Update LICENSE.md (compare)

Rick Strahl
@RickStrahl
:+1:
Gary Ewan Park
@gep13
you know, if you wanted, you could embed the exe into this package as well: https://chocolatey.org/packages/MarkdownMonster rather than first downloading it as well, that would also save the need for the checksums :-D
Rick Strahl
@RickStrahl
So I pushed it up markdownmonster.portable
It looks like it made it but choco push is totally hung.
I remember this happened with the previous version as well. Console is dead I have to shut it down.
blob
eventually returned. It says it's timed out, but the package is up on choco.
Rick Strahl
@RickStrahl
The checksums aren't a big problem since those are auto-generated as part of the build process and embedded into the choco script. Main thing I don't like is that the upload takes a while and apparently hangs a lot of the time.
Rick Strahl
@RickStrahl
Hmmm... so looks like the uninstall isn't working:
blob
Gary Ewan Park
@gep13
hmm, that looks like a question for @ferventcoder
any ideas Rob?
Rick Strahl
@RickStrahl
Looks like the uninstall is looking in some odd folders for uninstall. There's no uninstall.ps1 (or install for that matter).
The question is why is it looking in the lib-bkp folder.
Gary Ewan Park
@gep13
during the uninstallation process, Chocolatey moves items into that folder, so that if something goes wrong, it can recover the installation.
Rob Reynolds
@ferventcoder

:point_up: January 15, 2017 3:34 AM

Yip, if it is an embedded package, with just contents, Chocolatey will wipe out the folder on uninstallation

Chocolatey is a tad bit smarter than that. On uninstall it removes all unchanged files and leaves files that have changed. If you uninstall with force, it will wipe all files, including files created and user changed files. Same goes for upgrade.

@RickStrahl @gep13 chocolatey/choco#1139 for the uninstall issue - it looks like something was running and locking the folder, so when it moves the files to lib-bkp and later attempts to delete them, it fails because the locked files are now there.
Rob Reynolds
@ferventcoder
It should not cause a failure, only warnings. However it looks like in this case it may not have had the ability to create the copies back in the actual lib directory so it considered it a failure.
:point_up: January 15, 2017 4:26 AM for the push hang. I push up 7MB and don't run into this very often. Let me see if maintenance can clear this up.
Rob Reynolds
@ferventcoder
@RickStrahl I just performed maintenance on Chocolatey.org. It's coming back up now. I'd be curious to know if you are still running into hangups after this.
Rick Strahl
@RickStrahl
@ferventcoder Yeah I saw the error message, but I checked and I made sure there was nothing running or any explorer folders open in the folder structure which made that puzzling.
@ferventcoder I did run from a local folder install for testing though - not sure if that would make a difference. I give it another try now after reboot.
Rick Strahl
@RickStrahl
@ferventcoder So I tried a few things here and I notice that everything works from an elevated command prompt. But from a non elevated prompt it doesn't work. Left unelevated, right elevated.
blob
This is a portable install and shouldn't need any admin rights to install. No admin tag in the nuspec.
@ferventcoder @gep13 Shouldn't I be able to install from a non-elevated prompt with this portable install?
Rob Reynolds
@ferventcoder
If you have installed choco to a directory other than the default, then yes
The default installation directory is locked down to admins only with modify access
we highlight that in the more options section oh the install page. Also on the security page
Rick Strahl
@RickStrahl
@ferventcoder So then what's the point of a portable install if you still require admin? Shouldn't choco install in a location that doesn't require admin rights?
Rick Strahl
@RickStrahl
@ferventcoder Ok, fair enough. I was under the impression that Chocolatey could run under limited rights, because that's what several people were asking for. So when I don't specify Admin rights on the installer does it run the installer under Admin as well or under user account? I thought this was the whole point of a portable, non-admin capable install.
We probably should move this over to @chocolate.org group :-)
Rob Reynolds
@ferventcoder
Chocolatey can run under limited rights. By default it does not due to more secure by default settings
Rick Strahl
@RickStrahl
@gep13 BTW, you can now do:
---
Title: @Model.ActiveDocument.Title
Published: @DateTime.Now.ToString("yyy-MM-dd")
Tags: 
- ~
---
In 1.1.20 of Markdown Monster. No more @Razor code block required to figure out the file name.
That feature needs a little more work - like it should also capture a title from FrontMatter.
Gary Ewan Park
@gep13
@RickStrahl sweet!
will give that a try as well
hmm, when I try the above, I get...
blob
signing off for just now, but will try again later
thanks again for all your help!
Rick Strahl
@RickStrahl
Maybe it didn't make it in 1.1.20. It's in there for next rev though.
Ah yes, it's in 1.1.20.1 (from Web site only)
Gary Ewan Park
@gep13
Gotcha, will keep an eye out for it.
Rob Reynolds
@ferventcoder
Nice!
it's actually very naive
Rick Strahl
@RickStrahl
Yeah I'm also doing that front matter parsing already for Weblog posts - just have to pull that code out and plug into the Title property retrieval which will be useful in other places as well.