Giter Club home page Giter Club logo

atlas's People

Contributors

4tt1l4 avatar ajuggler avatar alegadea avatar brunjlar avatar dr-mazen-khaddaj avatar euonymos avatar halukg avatar iburzynski avatar matd9 avatar micrograx avatar piyushthapa avatar sourabhxyz avatar tomasosiecki avatar totallynotchase avatar vardominator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atlas's Issues

Capitalize badge titles

Problem:

  • The spelling of the badge titles is a bit mixed up. Some of them are capitalized, others are not.

Image

Solution:

  • Capitalize all the status badges.

Nix flake have issues with index-state

Problem:

  1. Currently we are using older refs for haskell.nix & plutus which is blocking to use new GHC version.
  2. Hackage Index-state issue

Solution:
use latest tag & update flake.nix

[DOC] Atlas: Fix Haddock link

Problem:

  • The haddock link in the documentation section of the README is broken:

To dive deeper into the Atlas implementation, see its [Haddock](TODO).

Solution:

  • Make sure that the haddock link leads to the generated haddock documentation.

Warning Tab character found in Gift.hs

Problem:

  • A warning with the message "Tab character found here, and in two further locations." is logged when the GHA Run is done:

image

Solution:

  • Make sure that there are no warning logged when the build is node.

Resources:

Release workflow

Problem:

  • At the moment there is no proper release workflow for GitHub Actions.

# TODO: Download artifacts
# TODO: Publish artifacts as GitHub Release

Solution:

  • Implement a release workflow.

Resources:

name: Demo Push

on:
  push:
    # Publish `main` as Docker `latest` image.
    branches:
      - main
      - seed

    # Publish `v1.2.3` tags as releases.
    tags:
      - v*

  # Run tests for any PRs.
  pull_request:

env:
  IMAGE_NAME: ghtoken_product_demo

jobs:
  # Push image to GitHub Packages.
  # See also https://docs.docker.com/docker-hub/builds/
  push:
    runs-on: ubuntu-latest
    permissions:
      packages: write
      contents: read

    steps:
      - uses: actions/checkout@v3

      - name: Build image
        run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"

      - name: Log in to registry
        # This is where you will update the personal access token to GITHUB_TOKEN
        run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin

      - name: Push image
        run: |
          IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME

          # Change all uppercase to lowercase
          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
          # Strip git ref prefix from version
          VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
          # Strip "v" prefix from tag name
          [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
          # Use Docker `latest` tag convention
          [ "$VERSION" == "main" ] && VERSION=latest
          echo IMAGE_ID=$IMAGE_ID
          echo VERSION=$VERSION
          docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
          docker push $IMAGE_ID:$VERSION

Add badge with build status

Problem:

  • The build status is not shown in the status badges.

Solution:

  • Add a status badge showing the main build status.

Pagination support for multi return endpoints

The framework should start to require and take advantage of pagination in some of its Core provider functions. For example, fetching all UTxOs at an address should be a paginated operation ideally.

This would greatly help the orderbot framework. But in reality, this is a fundamental improvement that is crucial for HTTP based providers (blockfrost, maestro etc.).

[TODO] Create issues for the TODO comments

Problem:

  • At the moment there are quite a few TODO comments in the code, which are hard to track, manage and prioritize.

Solution:

  • Create issues for the TODO comments, so these could be planned, prioritized and tracked.

[DOCS] Wrong workflow link for GitHub Actions Badge

Describe the issue with the documentation
The GitHub Actions Badge is leading to the Haskell workflow, which is never executed

Suggest a solution
Instead of linking to the Haskell workflow, we should use a link pointing to the build workflow filtered for the main branch

Additional context
This issue is about a problem with the GitHub Actions status badge in the README file.

Incorporate doctests into CI pipeline

Problem:

  • The doctests are not included in the CI pipeline.

Solution:

  • Integrate the doctests into the CI pipeline.

Resources:

Commands to run the doctests:

curl -sL https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20211114/cabal-docspec-0.0.0.20211114.xz > ./cabal-docspec.xz
xz -d < ./cabal-docspec.xz > ./cabal-docspec
rm -f ./cabal-docspec.xz
chmod a+x ./cabal-docspec
./cabal-docspec

Consider disabling wiki

Problem:

  • An empty wiki page is shown, but we are not planning on using the wiki.

Solution:

  • Disable the Wiki feature/tab for the Atlas repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.