Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 01 20:54
    dependabot-preview[bot] commented #752
  • Apr 01 20:54
    dependabot-preview[bot] edited #752
  • Apr 01 20:11
    dependabot-preview[bot] edited #752
  • Apr 01 20:10

    epage on master

    chore: Upgrade syntect Merge pull request #753 from ep… (compare)

  • Apr 01 20:10
    epage closed #753
  • Apr 01 15:16
    epage opened #753
  • Apr 01 14:34

    epage on cargo

    (compare)

  • Apr 01 14:33

    epage on master

    build(deps): bump assert_fs fro… Merge pull request #751 from co… (compare)

  • Apr 01 14:33
    epage closed #751
  • Apr 01 14:33

    epage on cargo

    (compare)

  • Apr 01 14:33

    epage on master

    build(deps): bump serde_json fr… Merge pull request #746 from co… (compare)

  • Apr 01 14:33
    epage closed #746
  • Apr 01 13:21
    dependabot-preview[bot] synchronize #746
  • Apr 01 13:21

    dependabot-preview[bot] on cargo

    build(deps): bump serde_json fr… (compare)

  • Apr 01 13:21
    dependabot-preview[bot] edited #746
  • Apr 01 13:21
    dependabot-preview[bot] synchronize #751
  • Apr 01 13:21

    dependabot-preview[bot] on cargo

    build(deps): bump assert_fs fro… (compare)

  • Apr 01 13:21
    dependabot-preview[bot] edited #751
  • Apr 01 13:20
    dependabot-preview[bot] edited #746
  • Apr 01 13:20
    dependabot-preview[bot] edited #751
Ed Page
@epage
I'm just now experimenting with artifacts
https://github.com/crate-ci/committed/pull/23/files
Unfortunately, AzDO isn't running on my PRs
trying to figure that out
Geobert Quach
@Geobert
I've seen that you can tell AzDO to build a specific branch, it's what I've done to test if cobalt is building fine in AzDO: https://dev.azure.com/geobert/cobalt/_build?definitionId=1
Ed Page
@epage
Got github releases working. next up is PRs and then I can apply this to cobalt
https://github.com/crate-ci/committed/releases
Geobert Quach
@Geobert
Great job! I'll have a look and try to build a bin with pagination activated
Ed Page
@epage
The thing not shown in my pipeline is adding a Service Connection named crate-ci-token (to match that name in the pipeline) that is a Personal Access Token for github to write to the repo you are using
Geobert Quach
@Geobert
Yup, does it use the same as "endpoint" in the repositories?
Ed Page
@epage
So my pipeline is using one endpoint to get the template, crate-ci
I just also happen to be in a crate-ci project
so my upload token was named similarly
Geobert Quach
@Geobert

I'm using:

resources:
  repositories:
    - repository: templates
      type: github
      name: crate-ci/azure-pipelines
      endpoint: Azure

Azure being a connection I've set up

Ed Page
@epage
That is independent o the one involved with the GitHub Release task
Geobert Quach
@Geobert
oh, so I need to generate another one?
Ed Page
@epage
Yes, this one instead points to your repo
ie you need to tell it what repo you are uploading to
Geobert Quach
@Geobert
Ok, I don't have the release task running yet anyway, some tasks are failing: Windows test doesn't build because of onig, and fmt is failing on beta channel
Ed Page
@epage
Weird
Geobert Quach
@Geobert
because crate-ci template is using windows-2019 as image, I don't know which visual studio is installed, but I have issue making Rust compilation work with VS 2019
On travis, we're using VS2017
Ed Page
@epage
Uggh, that stuff
Geobert Quach
@Geobert
yes… I'm dreaming of the day when none of our deps need a C compiler anymore…
between onig and sass, it's really a pain in the neck
yup, the image used in the template is windows-2019-vs2019 so I think that's why onig is failing
Ed Page
@epage
Got PRs working
Geobert Quach
@Geobert
yay, I manage to hack an AzDO config to get my binary for my server ^^' but it's extra ugly
will do the job for now, so I can build master with pagination enabled
Geobert Quach
@Geobert

any idea why this does not work in liquid:

{% assign date = "2019-1" %}
  <div>Date: {{ date | date: "%Y/%B" }}</div>

I want 2019/January but I got 2019-1

I've looked at the code of the date filter and it seems it does not expect Ruby's Time.parse input (as specified by shopify https://shopify.github.io/liquid/filters/date/)

Ed Page
@epage
Geobert Quach
@Geobert
Oh I see, if inspiration is there, I'll try sort this. But after pagination (it's feature complete now, at least for a first stable version), I want to tackle other things like internal linking or try to contribute on rust-analyzer
Ed Page
@epage
Nice
btw this is the image that zola uses to build with onig
https://github.com/getzola/zola/blob/next/azure-pipelines.yml#L14
Have we created an issue for the onig-sys crate about supporting vs2019?
Geobert Quach
@Geobert
Not yet
"Unable to find libclang" so maybe we need a step to install clang?
Ed Page
@epage
Thats ... weird
Seems odd that it is using clang on windows
It could actually be right but I'm guessing its showing something is failing in the compiler detection, so its falling back to that
Geobert Quach
@Geobert
Ed Page
@epage
Feel like I'm at a good place to start cobalt's transition to Azure Pipelines.
Geobert Quach
@Geobert
Great!
Geobert Quach
@Geobert
As travis' free plan has reached its limit, I think it's needed
Ed Page
@epage

Seems to be building successfully!
https://dev.azure.com/cobalt-org/cobalt-org/_build?definitionId=2&_a=summary

I went to the extreme on testing combinations. I need to consider where to scale back

Geobert Quach
@Geobert
Indeed x) Great stuff!
Geobert Quach
@Geobert
Hi there, I'm going to be the elephant in the room and ask a "rude" question: Where is cobalt heading? Obviously, Ed don't have the bandwidth to work on it :( In the meantime, I see Zola flourishing and we're even seeing people migrating to it and I have to admit it begins to annoy me a little bit :-/
I love working with you Ed, though, you teach me a bunch of stuff on Rust and even in computer engineering (even it's my fulltime job for 17 years now)
So I would be sad to give up on this
Ed Page
@epage
I ask myself the same question from time to time
liquid has potential that despite it not being the most ideal template language, it is one of the few Rust runtime template engines that lets you fully customize it which I know at least cargo-generate has appreciated