Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 17 16:29
    anthraxx closed #731
  • Feb 17 16:29
    anthraxx commented #731
  • Feb 17 16:21
    epage commented #731
  • Feb 17 15:41
    anthraxx commented #731
  • Feb 17 15:24
    epage commented #731
  • Feb 17 14:27
    anthraxx commented #731
  • Feb 17 14:23
    anthraxx commented #731
  • Feb 17 14:03
    epage commented #731
  • Feb 16 18:58
    anthraxx edited #731
  • Feb 16 18:58
    anthraxx edited #731
  • Feb 16 18:56
    anthraxx edited #731
  • Feb 16 18:48
    anthraxx opened #731
  • Feb 13 17:56

    epage on next

    chore: Fix a bunch of assorted … chore: Some `as_deref()` simpli… chore: Fix a `match`-related be… and 3 more (compare)

  • Feb 13 17:56
    epage closed #730
  • Feb 13 17:19
    epage opened #730
  • Feb 13 13:25

    epage on next

    refactor: Define asset model refactor: Port to asset model style: Move like code together and 1 more (compare)

  • Feb 13 13:25
    epage closed #729
  • Feb 13 13:04
    epage opened #729
  • Feb 13 12:16

    epage on next

    chore(CI): Ensure channel is se… fix(CI): Install appropriate ta… fix: Do not render `Nil` excerp… and 2 more (compare)

  • Feb 13 12:16
    epage closed #728
Ed Page
@epage
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
As for cobalt, I have project ideas that zola can't handle and I'm thinking tuning cobalt to be able to handle. I can't remember off my head what those features are for my "private, family focused facebook" but I remember coming across them
Ed Page
@epage
While family changes have limited my time quite a bit, another challenge is the number of projects I'm involved in. I am trying to identify pause points for those projects and work towards them.
  • committed: conventional 1.0 support before pausing
  • typos: benchmarks ran and formal announcement
  • assert-rs: effectively at a pause point
  • cargo-release: reduce the number of commits and improve "is a release needed?" detection
  • stager / cargo-tarball: This is the area of most work needed