GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Hapistrano can't deploy from Windows · Issue #96 · stackbuilders/hapistrano

Hapistrano can't deploy from Windows #96

New issue
Copy link
New issue
Copy link
Closed
Closed
Hapistrano can't deploy from Windows#96
Copy link
Labels
buglow-prioritywontfix

Description

@juanpaucar
juanpaucar
opened on May 31, 2018
Issue body actions

Expected Behavior
I want to deploy from Windows to a UNIX system using the same files I would use if I ran hapistrano from Linux.

Actual Behavior
I'm getting this error when deploying from Windows.

> hap deploy -c deploy/staging.yaml…Aeson exception:…Error in $['deploy_path']: InvalidAbsDir "/var/www/staging"…

Other details
Hapistrano uses the path library. path has support for windows. However, path makes a distinction to expose certain behavior according to the system it is being compiled on:

{-# LANGUAGE CPP #-}
#if defined(mingw32_HOST_OS)
module Path(module Path.Windows) where
import Path.Windows
#else
module Path(module Path.Posix) where
import Path.Posix
#endif

That means that if hapistrano is compiled on Windows, it will validate that all paths on the server.yml files have valid deployment paths. If the target is Unix, the path will still appear as invalid since path's validation relies on the system it was compiled on.

Activity

  1. juanpaucar
    added
    bug
    on May 31, 2018
  2. juanpaucar
    assigned
    jpvillaisaza
    on Jun 1, 2018
  3. juanpaucar
    added
    wontfix
    low-priority
    on Dec 12, 2018
  4. jpvillaisaza
    removed their assignment
    on Dec 12, 2018
  5. CristhianMotoche commented on Mar 22, 2022

    @CristhianMotoche
    CristhianMotoche
    on Mar 22, 2022
    Collaborator
    More actions

    I'm going to close this issue for now since it was labeled as wontfix. We can reopen it in the feature since no one else has requested to take a look at it.

  6. CristhianMotoche
    closed this as completedon Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buglow-prioritywontfix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.