Commit Graph

399 Commits

Author SHA1 Message Date
Alexis Crespo
74a4442543
Update src/System/Hapistrano.hs
Co-authored-by: Cristhian Motoche <CristhianMotoche@users.noreply.github.com>
2024-07-18 21:34:13 -05:00
Alexis Crespo
5b56f2fc9c
Update src/System/Hapistrano.hs
Co-authored-by: Cristhian Motoche <CristhianMotoche@users.noreply.github.com>
2024-07-18 21:32:45 -05:00
Alexis Crespo
de1c4235f9 Not required all 2024-07-11 15:57:05 -05:00
Alexis Crespo
d5356d3967 Remove redundant import 2024-07-11 15:57:05 -05:00
Alexis Crespo
c428982035 Update command 2024-07-11 15:57:05 -05:00
Alexis Crespo
98e8e96884 Add yn parser 2024-07-11 15:57:05 -05:00
Alexis Crespo
535d747a9b Add uri parser 2024-07-11 15:57:05 -05:00
Alexis Crespo
3b365f0bd8 Add port parser 2024-07-11 15:57:05 -05:00
Alexis Crespo
d31c706561 Test megaparsec 2024-07-11 15:57:05 -05:00
Sebastián Estrella
3d57576ac9
ci: Fix build workflow (#240) 2024-07-11 14:57:49 -05:00
Franz Guzmán
b7fd5361b1
Lint and grammar fixes (#237)
* Apply hlint suggestions

* Fix spelling error

* chore: Fix spelling error and update release identifier comments

* Undo change not needed
2024-06-20 21:32:27 -05:00
Cristhian Motoche
e8ec435b2b
Merge pull request #234 from stackbuilders/master
chore:  Bring last changes to main
2024-01-23 13:17:31 -05:00
Cristhian Motoche
f679be765f
chore: Update default branch name (#233) 2024-01-21 20:48:10 -05:00
allcontributors[bot]
9eb8ded15d
add blackheaven as a contributor for code (#230)
* update README.md

* update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-01-18 09:59:15 -05:00
Cristhian Motoche
27511ae969
doc: Include docs for initConfig (#231)
* doc: Include docs for initConfig

* doc: Update missing documentation

* ref: Increase boundaries for some dependencies

* doc: Modify documentation
2024-01-16 07:46:48 -05:00
Gautier DI FOLCO
a2aa3dba43
Add interactive init command (#224) (#227)
* Add interactive init command (#224)

* fixup! Add interactive init command (#224)

* fixup! Add interactive init command (#224)
2023-10-24 21:03:44 -05:00
Cristhian Motoche
ccb8d7c3ba
chore: Add All Contributors (#222)
* Add @juanpaucar as a contributor

* Add @jsl as a contributor

* Add @DavidMazarro as a contributor

* Add @sestrella as a contributor

* Add @mrkkrp as a contributor

* Add @jpvillaisaza as a contributor

* Add @CristhianMotoche as a contributor

* Add @psibi as a contributor

* Add @ibarrae as a contributor

* Add @cptrodolfox as a contributor

* Add @goetzc as a contributor

* Add @javcasas as a contributor

* Add @darthdeus as a contributor

* Add @nickovivar as a contributor

* Add @felixminom as a contributor

* Add @elcuy as a contributor

* Add @fefi95 as a contributor

* Add @alexisbcc as a contributor

* Add @GioDavid as a contributor

* Add @FranzGB as a contributor

* Add @hughjfchen as a contributor

* Add @boceto1 as a contributor

* Add @ng29 as a contributor

* Add @nebtrx as a contributor

* Add @wanderer163 as a contributor

* docs: Update README

* fix: Update install-nix-action
2023-07-31 17:21:33 -05:00
Sebastián Estrella
d0c08771c4
Reproducible development and test environments (#212)
* Setting up Nix / Running the build using Nix

* Delete other CI workflows (temporarily)

* Add cabal update

* Cache dependencies

* Run tests

* Add missing dependency required for testing

* Add macos-latest runner

* Exclude GHC 8.10 on macos-latest

* Trying something with haskell.nix overlays

* Trying to compile the project with an external flake

* Pass --accept-flake-config flag

* Install GHC package provided by haskell-nix

* Pass --accept-flake-config and enable ubuntu-latest

* Remove hello project

* Update substituters

* Test with ubuntu

* Disable macos

* Add stdenv.cc.cc.lib

* Testing ghc90 running on ubuntu-latest

* Install GMP dev

* Remove .dev from gmp

* Use propagatedBuildInputs

* Install stdenv

* Add --verbose=3

* Test ghc810 running on ubuntu-latest

* Install libstdc++6

* Fix typo

* Run nix-info

* Add nix-path

* List /usr/lib/x86_64-linux-gnu

* Run cabal clean before cabal build

* Run without cache

* Turn on cache again

* Run all builds

* Run ghc90 on ubuntu-latest only

* Install ghc from haskell on Linux and haskell-nix on Mac

* Re-enable cache

* Add labels to steps

* Add scripts to run nix-shells

* Install zsh

* Exclude GHC 8.10 from macOS

* Install zsh only on Linux

* Minor refactoring

* Merge nix workflow into build

* Remove nix workflow

* Update README file

* Fix merge conflicts

* Fix runs-on

* Add cache.nixos.org config

* Exclude ghc90 on macos-latest

* Add note about GHC 9.0 running on macOS

* Update flake.lock

* Run GHC 9.0 (macOS)

* Print GHC and cabal versions

* Disable docker job (temp change)

* Fix compilation issue

* Refactor documentation

* Re-enable docker job

* Update comment in the .cabal file

* Revert .cabal file changes

* Extract nix content to a separate file

* Extract nix content to a separate file

* Update README file

* Update TODO section

* Remove .tmuxinator.yml

* Remove table of content from the README file

* Fix typo in command

* Update Nix docs

* Update restart instructions
2023-04-18 08:27:59 -05:00
Sebastián Estrella
e6a279966a
[NO STORY] Update information about Docker images (#191) 2023-04-04 16:00:33 -05:00
Sebastián Estrella
caf471f478
Add support for lead target commands (#219) 2023-02-24 08:59:59 -05:00
Cristhian Motoche
1bfe38eb03
bump version 0.4.8.0 (#217) 2023-02-16 07:51:20 -05:00
Cristhian Motoche
05c194375e
fix: Error on release path activation (#216)
* fix: Change place where validation happens

* chore: Change error message
2023-02-15 16:13:53 -05:00
Cristhian Motoche
dcd59383d7
doc: Update cabal Intro (#215) 2023-02-15 08:24:22 -05:00
Cristhian Motoche
ac67c38c34
bump version 0.4.7.0 (#214) 2023-02-14 16:07:22 -05:00
Cristhian Motoche
c0950f3c23
fix: Filter for multiple targets (#213)
* fix: Fix filter

* ref: Use eitherDecode to get the parse error message
2023-02-14 13:54:53 -05:00
Cristhian Motoche
49e66cde51
chore: Update CI (#211)
* fix: Typo on cabal packages

* force run

* fix: Follow suggestion

* chore: Get status from master branch

* chore: Remove cabal packages from cache
2023-02-11 17:21:57 -05:00
Cristhian Motoche
d4ebd86db5
chore: Change error message (#209) 2022-11-15 15:57:45 -05:00
Hugh JF Chen
78d215bb63
check if the path exists before rollback to a specific release. (#207)
* check if the path exists before rollback to a specific release.

* fix #206

* update upstream and create the fix for #206 based on updated upstream.
2022-11-15 15:43:50 -05:00
Cristhian Motoche
12f0ae8720
docs(readme): Change footer image URL (#208) 2022-11-15 10:16:38 -05:00
Cristhian Motoche
e29e1aad81
[NO ISSUE] Refactoring: Move Deploy task into library (#205)
* Include restart command inside rollback

* Abstract deploy command

* Define task inside 'deploy' function

* Remove imports from Hapistrano App
2022-09-09 11:49:27 -05:00
Cristhian Motoche
856f1037dd
Define Hapistrano with Deriving Via strategy (#204)
* Use deriving strategies

* Add missing type classes to derive from

* Remove duplicated runHapistrano

* Only derive from ReaderT

* Replace catch/throw
2022-09-08 09:34:24 -05:00
Cristhian Motoche
a1ccbe631e
[Release] v0.4.6.0 (#203)
* Update README.md

* Update version
2022-07-05 10:14:44 -05:00
Alexis Crespo
40647af28a
[#145] Deploy from a different repository (#193)
* Add GitSetOrigin command

* Add new command tests

* Create second repository path for testing

Co-authored-by: Alexis Crespo <alexis-2cab@homail.com>

* Add tests for new command implementation

* Remove redundant imports in spec file

Co-authored-by: CristhianMotoche <cristhian.motoche@gmail.com>
Co-authored-by: Alexis Crespo <alexis-2cab@homail.com>
2022-07-05 09:35:33 -05:00
Sebastián Estrella
56bf80c171
Tag external workflow (#202) 2022-07-01 10:49:06 -05:00
Sebastián Estrella
1465a90914
Refactor hackage job using an external workflow (#201) 2022-07-01 09:47:06 -05:00
Sebastián Estrella
f017de409c
Fix smoke test (#200) 2022-06-09 16:15:36 -05:00
Sebastián Estrella
e80dc22010
Refactoring CI workflows (#199)
Co-authored-by: Cristhian Motoche <cmotoche@stackbuilders.com>
Co-authored-by: David Mazarro <dmunuera@stackbuilders.com>
2022-06-09 11:23:16 -05:00
Luis Fernando Alvarez
0054efc7b0
Merge pull request #198 from stackbuilders/company-info-footer
Add company info footer to readme, contributing guide
2022-06-03 08:41:12 -05:00
Luis Fernando Alvarez
1e53cbb329 Add company info footer to readme 2022-06-03 08:33:40 -05:00
David Mazarro
9e00c107f4
Updated with new 0.4.5.0 version (maintenance mode) (#197) 2022-05-20 17:29:39 +02:00
David Mazarro
f973b0671e
Add CI workflow step to publish on Hackage on tag push (#196)
* Barebones `hackage.yml` workflow structure

* Removed `hackage.yml`

* Added new `release` job and steps for Hackage distribution

* Commenting `release` job

* Uncommented `release` job and fixed bad syntax

* Fixed bad YAML syntax

* Removed upload-artifact/download-artifact

* Changed version variable to glob expression `*`

* Added Haddock generation and upload steps for Hackage
2022-05-20 10:16:41 +02:00
Sebastián Estrella
0e4bef339b
[#133] Create releases with pre-compiled binaries (#194)
Co-authored-by: Cristhian Motoche <cmotoche@stackbuilders.com>
Co-authored-by: David Mazarro <dmunuera@stackbuilders.com>
2022-05-11 16:30:50 -05:00
Sebastián Estrella
00f285010b
Fix build cache issues (#192) 2022-04-25 21:48:34 -05:00
Franz Guzmán
c377835763
Maintenance mode commands (#169)
* Create maintenance command

* Read filepath and filename

zsh:1: command not found: q

* Addd config and test

* Addd config and test

* Add tests and imports

* Add test for writing maintenance file

Co-authored-by: Cristhian Motoche <CristhianMotoche@users.noreply.github.com>

* Expand writeMaintenancFile function

Co-authored-by: Cristhian Motoche <CristhianMotoche@users.noreply.github.com>

* Add functionality for command enable

Co-authored-by: Cristhian Motoche <CristhianMotoche@users.noreply.github.com>

* Add delete function

* Add filename and directory from configPath

zsh:1: command not found: wq

* Remove unused file

* Change variable name

* Remove Utils from cabal file

* Remove environment file

* Change pattern

* Add suggested formatting and comments

* Add more suggestions and option to run stack

* Update README with new variables

* Update README with changes

Co-authored-by: Cristhian Motoche <CristhianMotoche@users.noreply.github.com>
2022-04-19 14:03:17 -05:00
Cristhian Motoche
206e58cf07
Merge pull request #190 from stackbuilders/fix/change-pvp
[FIX] Change version to 0.4.4.0
2022-04-12 16:46:14 -05:00
CristhianMotoche
8e34fa066e Change version to 0.4.4.0 2022-04-12 16:09:48 -05:00
Cristhian Motoche
15dd309727
[RELEASE] Documentation changes and release preparation (#184)
* Avoid 'Table of Contents' in first title

* Change titles and add notes for Windows

* Change maintainer and remove it from modules

* Prepare release
2022-04-12 15:57:44 -05:00
Sebastián Estrella
4f4533b494
Move md files to extra-doc-files block (#189) 2022-04-12 10:46:47 -05:00
Sebastián Estrella
9c793f78cc
[#188] Push image to a Docker registry (#187) 2022-04-11 14:42:59 -05:00
Sebastián Estrella
facc8b0693
[#185] Simplify CI build matrix (#186)
* Simplify CI build matrix

* Add quotes to GHC versions

* Update tested versions of GHC in cabal file

Co-authored-by: CristhianMotoche <cristhian.motoche@gmail.com>
2022-04-09 10:53:58 -05:00