Build from master branch directly

This issue has been created since 2022-03-24.

To currently build from the latest commit available it seems like I have to do two steps:

  • Download the caddy repository
  • Execute xcaddy --with domain.com/my-plugin

Something like xcaddy build edge --with domain.com/my-plugin, which just does it all for you in one go, so that you can test your plugins with the latest commit available online for example would be nice. It's completely fine to do the repository step like right now, but I thought it'd be nice to have a command like that for a little bit of speed up in the workflow.

francislavoie wrote this answer on 2022-03-24

xcaddy build master already works 🤔

Just specify any branch/tag/commit/ref as the first arg to build and it will use that as the version of Caddy to build on top of.

lenovouser wrote this answer on 2022-03-24

I was trying so many things like commit hashes etc., why didn't I think of that 😭 I'll open a PR to add it to the readme, okay?

francislavoie wrote this answer on 2022-03-24

Sure, makes sense to clarify that <caddy_version> can be any git ref

More Details About Repo
Owner Name caddyserver
Repo Name xcaddy
Full Name caddyserver/xcaddy
Language Go
Created Date 2020-03-21
Updated Date 2022-09-22
Star Count 381
Watcher Count 14
Fork Count 72
Issue Count 3

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
can you export maxWidth option to idea plugin? 1 2022-05-16 2022-09-21
Option to add stop propagation outside of the modal 0 2021-08-21 2022-09-12
TypeError: jwt_required() missing 1 required positional argument: 'fn' 3 2021-02-25 2022-09-20
netcoreapp3.1 support 1 2021-08-02 2022-09-27
disable auto-link in code blocks 1 2022-01-20 2022-09-19
Missing important details! 0 2021-10-04 2022-09-09
大大有没有电报交流群 0 2021-03-24 2022-01-16
IXunitserializable does not serialize *any* data from the MemberData field 0 2021-04-12 2022-08-19
Unable to read ply texture data 2 2022-03-17 2022-08-27
Add option to change UI of boot selection menu 6 2022-01-19 2022-09-14
Cannot build for iOS simulator using Swift Package Manager 2 2021-02-11 2022-09-06
CTE not working 5 2021-03-22 2022-01-04
Creating command-line executable of DOMPurify 4 2021-04-13 2022-09-28
Evaluation of interpolation methods. 1 2021-03-04 2022-09-29
Bug report: JSON to CSV add index in table head when there are boolean value 0 2022-08-16 2022-09-09
Bug反馈:npm构建报错:Module not found: Error : Can't resolve 'core-js/modules/es6.array.copy-within 6 2021-01-16 2022-09-24
Fish are performing mitosis 2 2020-11-27 2022-09-15
Duplicate labels on artifact list page 0 2022-03-16 2022-07-26
[🐛 Bug]: RemoteWebDriver.builder() Unable to establish websocket connection 11 2021-10-22 2022-09-24
Selenium 4 exceptions produce a Traceback that contains this superfluous 'Backtrace' info. 14 2021-10-22 2022-07-10
Unable to use Spark.Read() Example due to java.lang.ClassNotFoundException in Databricks. 1 2022-01-11 2022-08-26
Prefer extension options over self-hosted configuration for any options defined in both locations 0 2021-12-09 2022-07-31
expect(...).to.have.property(...).that.exists 1 2019-01-15 2022-09-26
Update alpine image to 3.15 0 2022-03-29 2022-09-05
How to change the svc type? 1 2022-02-28 2022-09-05
Comparing Volatility Dumps 0 2021-03-11 2022-09-21
Standardize tune description format 11 2016-10-04 2022-09-20
Option to preserve % of disk space so that logging does not fills up disk space and causes DoS 7 2022-05-06 2022-09-05
Missing borders of workbench and terminal impact usability 4 2021-07-12 2022-09-23
Consider dropping (the "required" state for) Travis? 21 2021-02-02 2022-09-22
[Event Request] Table 5093 Opportunity Entry OnBeforeUpdateEstimates 1 2022-01-04 2022-08-03
No CPU information on the FeedIterator Diagnostics 1 2021-11-25 2022-09-24
[Tables] Reinstall native dependencies failing in nightly runs 1 2022-04-19 2022-09-22
RuntimeError: tensor has too many (>25) dims when permuting tensor with GPU backend 1 2021-12-24 2022-09-29
Forget Network Option Not Available.. 2 2020-03-12 2022-09-14
Only specify --modules-path when running JavaFX apps 2 2021-06-19 2022-09-14
CRITICAL log message "Content-Trust is broken for the version file fetch!" , what does it mean? 6 2022-01-07 2022-09-18
Object literal method not working as inference source 2 2021-04-16 2022-09-28
Do releases here get pushed to the MS Store? 5 2021-10-16 2022-09-15
Provide a .tfvars equivalent that allows locals to be defined as well 3 2022-04-29 2022-08-11
[NodeJS Client] New consumer type: TableView 2 2022-01-25 2022-09-28
Chrome crash on scale range [1, 1] 8 2021-11-16 2022-09-16
How do I set the legend text color? 1 2021-11-19 2022-08-29
Question: How can i apply the click event to the bubble plot? 2 2021-12-12 2022-09-22
phoneNumberVerified field is Boolean type 2 2022-06-01 2022-08-21
on linux,channels intallation error 6 2021-04-12 2022-08-30
CRD upgrade fails when new CRDs are added 0 2022-05-09 2022-09-06
Why my dot net step is not working. Someone please anwser. I am beginer 2 2022-01-11 2022-09-13
Hi, I am having an issue. When I am streaming a video with no sound channel, but player no display frames of video on iOS. 2 2021-10-22 2022-09-11
RenderBox was not laid out: RenderCustomPaint#eba2c relayoutBoundary=up8 2 2021-12-30 2022-09-18