text:
H265: FFMPEG 对 H265 的 RTMP 直播流转码支持

Migrate to https://github.com/ossrs/srs-gb28181/issues/31
GB已经放到独立的仓库 srs-gb28181， 请参考 #2845
问题请提交到GB的仓库bug，或者pr
由于265主要在GB中使用，所以265分支也迁移到了 srs-gb28181

这个可能是两个问题：

FFmpeg需要用特殊版本。

Edge可能需要支持265。

确实，基于 h265 分支通过 --ffmpeg-tool=on 编译的 ./obj/ffmpeg/bin/ffmpeg 不支持 h265
fmpeg-encoder-defaultVhost-live-PkdiDbzcHJnN-h265.log 转码日志如下
ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-pthreads --extra-libs=-lpthread --enable-gpl --enable-nonfree --enable-pos
tproc --enable-bzlib --enable-zlib --enable-libx264 --enable-libmp3lame --enable-libfdk-aac --enable
-libspeex --enable-libxml2 --enable-demuxer=dash --enable-libsrt --pkg-config-flags=--static
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[flv @ 0x3ae35c0] Video codec (c) is not implemented. Update your FFmpeg version to the newest one f
rom Git. If the problem still occurs, it means that your file has a feature which has not been imple
mented.
[flv @ 0x3ae35c0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incom
ing/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[flv @ 0x3ae35c0] Video codec (c) is not implemented. Update your FFmpeg version to the newest one f
rom Git. If the problem still occurs, it means that your file has a feature which has not been imple
mented.
[flv @ 0x3ae35c0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incom
ing/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[flv @ 0x3ae35c0] Video codec (c) is not implemented. Update your FFmpeg version to the newest one f
rom Git. If the problem still occurs, it means that your file has a feature which has not been imple
mented.
....................
[flv @ 0x3c925c0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[flv @ 0x3c925c0] Video codec (c) is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[flv @ 0x3c925c0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[flv @ 0x3c925c0] Video codec (c) is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[flv @ 0x3c925c0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[flv @ 0x3c925c0] Could not find codec parameters for stream 2 (Video: none ([12][0][0][0] / 0x000C), none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Data: none
    Stream #0:1: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:2: Video: none ([12][0][0][0] / 0x000C), none, 1k tbr, 1k tbn
Unknown encoder ''

我编译一下 ksvc/FFmpeg 再做一下测试

ffmpeg的avformat里的flv是不支持H.265这种自定义的codec id的。 可以参考这个进行修改：
https://github.com/VCDP/CDN/blob/master/FFmpeg_patches/0001-Add-SVT-HEVC-FLV-support-on-FFmpeg.patch

根据 https://trac.ffmpeg.org/wiki/CompilationGuide/Centos#x265 按照 265 后，fmpeg-encoder-defaultVhost-live-PkdiDbzcHJnN-h265.log 转码日志如下：
ffmpeg version N-103457-g9abf0e0419 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm --bindir=/root/bin --enable-gpl --enable-libfdk_aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
  libavutil      57.  4.101 / 57.  4.101
  libavcodec     59.  6.100 / 59.  6.100
  libavformat    59.  4.102 / 59.  4.102
  libavdevice    59.  0.101 / 59.  0.101
  libavfilter     8.  7.100 /  8.  7.100
  libswscale      6.  0.100 /  6.  0.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100
[flv @ 0x4bac340] Video codec (c) is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[flv @ 0x4bac340] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[flv @ 0x4bac340] Video codec (c) is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[flv @ 0x4bac340] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
.......
[flv @ 0x4bac340] Video codec (c) is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[flv @ 0x4bac340] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[flv @ 0x4bac340] Video codec (c) is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[flv @ 0x4bac340] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[flv @ 0x4bac340] Could not find codec parameters for stream 2 (Video: none ([12][0][0][0] / 0x000C), none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Metadata:
    |RtmpSampleAccess: true
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Data: none
  Stream #0:1: Audio: aac (Main), 16000 Hz, mono, fltp
  Stream #0:2: Video: none ([12][0][0][0] / 0x000C), none, 1k tbr, 1k tbn
Unknown encoder ''
Exiting normally, received signal 15.

尝试  @retamia 的建议对 ffmpeg 打 patch 尝试

按照 ffmpeg 官方的方式安装 ffmpeg with h265 不 work , 还是安装金山云的  ksvc/FFmpeg, flv 能够支持 h265, fmpeg-encoder-defaultVhost-live-PkdiDbzcHJnN-h265.log 转码日志如下：
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''

暂时还不能转码

@limjoe 问题是，如果你的ffmpeg不是gpu版本的，光靠cpu也转不了10路吧，服务器端的负载能受得了吗

按照 ffmpeg 官方的方式安装 ffmpeg with h265 不 work , 还是安装金山云的 ksvc/FFmpeg, 教程地址 ，教程安装方式有些出入，稍后我贴出完整的安装 bash 脚本
安装完成后，flv 能够支持 h265, fmpeg-encoder-defaultVhost-live-PkdiDbzcHJnN-h265.log 转码日志如下：
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''
ffmpeg version n3.4-dev-2711-ge40fcb1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
  configuration: --enable-static --enable-pic --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --disable-encoders --enable-encoder=aac --enable-encoder=libx264 --enable-gpl --enable-libx264 --enable-encoder=libx265 --enable-libx265 --disable-decoders --enable-decoder=aac --enable-decoder=h264 --enable-decoder=hevc --disable-demuxers --enable-demuxer=aac --enable-demuxer=mov --enable-demuxer=mpegts --enable-demuxer=flv --enable-demuxer=h264 --enable-demuxer=hevc --enable-demuxer=hls --disable-muxers --enable-muxer=h264 --enable-muxer=flv --enable-muxer=f4v --enable-muxer=mp4 --disable-doc --extra-libs=-ldl --extra-libs=-lpthread
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flv, from 'rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/PkdiDbzcHJnN':
  Duration: N/A, start: 0.020000, bitrate: N/A
    Stream #0:0: Audio: aac (Main), 16000 Hz, mono, fltp
    Stream #0:1: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 1k tbr, 1k tbn
Unknown encoder ''

暂时还不能转码

貌似你的问题是ffmpeg想合入flv支持h265的问题，参考这个自己编译一下ffmpeg4.1：https://github.com/runner365/ffmpeg_rtmp_h265
srs的fearue/h265分支是支持了h265 in flv，srs流媒体服务器h265有什么问题吗？

srs feature/h265 能正常接入 265 的流，也能正常分发 flv ,rtmp 265 流，是没有问题的
目前我是想通过 transcode 配置，把接入的 h265 的流再转一份 h264 的流

@limjoe 问题是，即便搞定了，在服务器端用ffmpeg（cpu情况）转不了同时10路吧(h265->h264)，服务器端的负载能受得了吗？

我的互联网监控场景是推流数量很多，拉流很少或者平时几乎没有人观看
@crazymxm 我想的是在 originCluster 的模式下，有人观看流的时候才在 Edge 端按需转码(即有人观看的时候才转码)

看起来是已经支持了？

Migrate to https://github.com/ossrs/srs-gb28181/issues/31
GB已经放到独立的仓库 srs-gb28181， 请参考 #2845
问题请提交到GB的仓库bug，或者pr
由于265主要在GB中使用，所以265分支也迁移到了 srs-gb28181

265老多厂商都是标配了吧。。。

authors: crazymxm jinleileiking limjoe retamia runner365 winlinvip


text:
HTTP API缺少鉴权验证机制

https://github.com/winlinvip/simple-rtmp-server/issues/345

dup to #470

SRS2和SRS3都已经支持了FLV的鉴权，参考http hooks：

SRS2: HTTP Callback: the param of on_play at CN or  EN。
SRS3: HTTP Callback: the param of on_play at CN or  EN。

source: gharchive/issue

repo: ossrs/srs

license: MIT

license_type: permissive

license_source: github-api


text:
Can I skip 'Intro CS' courses?

hey guys,
Is it okay to skip all 'Intro CS' courses and jump directly to 'Core CS'?
I already know that I want to learn computer science and, as a professional developer since 2013, I have some programming experience. Are these courses only for beginners who want to try a new area to see if they like it or do these courses have some knowledge that I will not see in Core CS courses?

Intro CS has two SUBsections: Introduction to Programming and Introduction to Computer Science.
What you described fits the "Introduction to Programming" subsection of Intro CS, with Python for Everyone and Fundamentals of Computing:

If you've never written a for-loop, or don't know what a string is in programming, start here. Choose one of the two course series below. Either one will give you an introduction to programming that assumes no prior knowledge.

If you have programming experience you can skip these if you want.
But if you've never had any CS before, don't skip the "Introduction to Computer Science" subsection, with Introduction to Programming and Computer Science with Python (I'll abbreviate this as MITx6.00.1x). I'm sure you'll find it relatively easy.
Some of the topics in that course are covered in Core CS but in a more advanced way; skipping this course and jumping straight into Core CS can make it difficult to understand them when they are covered there.
An alternate and much more challenging approach would be to skip Intro CS completely and jump into Core CS. In the past Harvard's CS50 (now in Core Systems) was the very first  course on the curriculum, back when I started. That course is a much harder "introduction" than MITx6.00.1x, but back then we all did it that way.
However there is a reason that these Intro CS courses were added to the curriculum. Personally I'm not a big fan of the Intro to Programming subsection of Intro CS (I find it redundant, it's covered in MITx6.00.1x), but MITx6.00.1x is a much gentler introduction (while still having a decent challenge), which probably makes much more sense for most beginners. Indeed, I heard some were struggling with CS50 as their first course.
I strongly recommend MITx6.00.1x. In the worst case (that it's too easy and you already know everything in it) you will lose just one week.
At the end of the day nobody can tell you what to do, it's your choice. You can even jump straight into an Advanced Application if you want! (Although you probably should not.) Start a course, see how things are going, check out the entire syllabus of the course, look at all the topics, and make your own decisions. Don't take my word for things either!
If you feel like your question is answered, please close the issue, thank you! Drop by Gitter, we can talk there directly!

@spamegg1 , wow, thank you so much for this answer!
I gave a careful look into MITx6.00.1x content (syllabus, problem sets and quizzes) and it seems more like "computer science stuff", different from Python for Everyone (which seems just a commercial-udemy-language/framework-course).
So I've decided to take this class before jump to core cs courses! I'll skip CS Tools because I already use these tools on a daily basis at my job.
Thanks again for the effort put in your answer, your opinion helped me a lot :)

Awesome! Drop by Gitter and tell us how it's going. Also check out Cohorts.

repo: ossu/computer-science

license: mit

license_source: bigquery


text:
container: Add more tests for image reference

Cover containers-storage and oci-archive too
Test that we can reserialize back into the same string

cc @lukewarmtemp

source: gharchive/pull-request

repo: ostreedev/ostree-rs-ext


text:
add sayo beatmap mirror site support

add the support for https://osu.sayobot.cn/
The beatmap mirror site in China
Direct search function not implemented yet

[x] Ranked status
[x] keyword search
[ ] download
[ ] diff

I will try to finish it soon
Thanks for attention

hey - i'm going to close this for the time being
if you'd like to give this another shot, feel free to re-open a pr!

authors: cdwcgt cmyui


text:
Add option to disable injecting context into error

Adds the ability to disable the injection of the current context onto thrown errors.
The motivation behind this is to solve an issue I was having with logging errors when the current context contains an object with circular references. Furthermore, adding properties to error objects feels a little intrusive and there should be a way to disable it if desired.

*bump*
Is this project still being maintained?

Not sure I really see much value to this, seems like your error logging should just be filtering properties better. Adding contextual properties onto error objects is very common: many ORM libraries do it, most routing frameworks do it too, even node core adds extra non-standard stuff onto errors.

This still allows adding contextual properties to error objects (it even leaves it on by default), it just gives the option to turn it off. We have logging filtering, but I'd prefer if we could remove the context in general.

@kschat We had similar issues logging odd 3rd party objects and errors. Here's a gist we used to help keep the objects and errors clean for logging.

authors: Jeff-Lewis Qard kschat


text:
Support improve App Theme settings

To make theme settings clearer, user friendly and with no hidden assumptions, this PR adds new way to set theme settings.
Previously default and hidden setting was Automatic. Once use change that setting they could never go back to Auto and was either Light or Dark.
Now users can explicitly set Automatic/Light/Dark for full flexibility.
Dark Amoled mode is now always available and if is set with Auto, it still triggers Dark Amoled when system is in Dark.

Merged in #163

authors: jblejder mateuszkwiecinski

repo: otwarty-wykop-mobilny/wykop-android


text:
邮件通知无法发送

配置均正确，任务执行后就是不能正常发送邮件，请问需要安装说明依赖服务么

查看日志log/cron.log，是否有记录错误

@ouqiang [ERR] mail#发送消息失败#unencrypted connection#

配置的端口是多少

@ouqiang 2525

只支持465端口

@ouqiang ok,明白了，谢谢

日志报错：x509: certificate is valid for xxx, not xxx
公司stmp服务器证书问题，尝试安装证书无果，能关闭这个检查么？

authors: ccxuy ouqiang zaite zhwjh

repo: ouqiang/gocron


text:
最新版本部署到腾讯云上没有打字机效果

本地部署有打字机效果，本地和腾讯云上都是使用的pnpm dev来部署，
本地有流式（打字机）效果，而腾讯云上没有
之前的版本部署在腾讯云上是有打字机效果的
我在 index.ts 中打印了一下，在 const stream = new ReadableStream({里是有流式打印的，但直到所有输出完才返回给客户端,因为我在 Chat.tsx 中加了以下调试代码

while (!done) {
     console.log("waiting...")
      const { value, done: readerDone } = await reader.read()

发现只有全部输出后 waiting... 才打印出来

我用之前的版本部署在腾讯云上，也不行了，可能是腾讯云的问题

return new Response(stream, {
headers: {
"Transfer-Encoding": "chunked",
},
});
原因找到了，在 index.ts 中最好加上以上这一句

repo: ourongxing/chatgpt-vercel


text:
bug: beforeUpdate hook not work with  tables with schema

when the base table has own schema, in hook beforeUpdate that schema is not used.
result: on entity update: sql error unknown relation TABLE_NAME
my patch:
file: lib/hooksModel.js
row 148:

sql = utils.replaceTableNames(sql, {through: hierarchy.through}, sequelize);

change to

sql = utils.replaceTableNames(sql, {through: hierarchy.through, item:model}, sequelize);

remove row 151

151: -- item: model.tableName,

Hi @baltov.
Thanks for spotting the bug. Would you mind submitting your fix as a PR? If you can write a test too that'd be even better! I don't use Postgres so schemas are rather out of my area of knowledge...

Finally got around to fixing this. It's in v0.6.0.

authors: baltov overlookmotel

repo: overlookmotel/sequelize-hierarchy


text:
do not send multicast packets to conntrack

Improve multicast performance by not sending multicast packages to conntrack.
Simple performance comparison is in kubeovn/kube-ovn#1137.

@zhangzujian, not sending multicast packets to conntrack makes sense to me.
There's, however, also the case when stateful (allow-related) ACLs are configured.  We should take care of that too and add similar rules to S_SWITCH_IN_PRE_ACL and S_SWITCH_OUT_PRE_ACL.
Also, please add your DCO (Signed-off-by).

@dceara  sounds good to me.
@zhangzujian  You also need to update the documentation here in northd/ovn-northd.8.xml
Can you please update the PR ?
Thanks

@dceara @numansiddique Thanks for your suggestions! The document has beed updated, please review.
Will the PR be backported to the stable branches?

@dceara @numansiddique Thanks for your suggestions! The document has beed updated, please review.

LGTM, I posted it formally on your behalf on the ovs-dev mailing list:
http://patchwork.ozlabs.org/project/ovn/patch/20211217141645.9931-1-dceara@redhat.com/
https://mail.openvswitch.org/pipermail/ovs-dev/2021-December/390257.html

Will the PR be backported to the stable branches?

I think it should be but it's up to the maintainers.

Applied the patch from the mailing list.  Closing the PR.
Please note I could only backport for branch-21.12 and branch-21.09.
If you need this for branch-21.06 and further down,  please submit the branch specific PR as this patch doesn't apply cleanly to branch-21.06.
Thanks

authors: dceara numansiddique zhangzujian

repo: ovn-org/ovn


text:
Error when creating new deployment

Issue type

Bug
Akash version

v0.12.1
Akash token balance

balances:

amount: "9388694"

What happened
I created a deployment, deleted it and tried to create another deployment using:
akash tx deployment create deploy.yml --from $AKASH_KEY_NAME --node $AKASH_NODE --chain-id $AKASH_CHAIN_ID --fees 5000uakt -y
and got the following error:
{"height":"796389","txhash":"C0B19A57900E0A0C2D0083F7CDF4A10DC8E739A36DF3F8BB3852DE745A0BA50C","codespace":"deployment","code":3,"data":"","raw_log":"failed to execute message; message index: 0: Deployment exists","logs":[],"info":"","gas_wanted":"200000","gas_used":"53410","tx":null,"timestamp":""}
What did you expect to happen
A new deployment is created with a new generated dseq
How to reproduce it

run akash tx deployment create deploy.yml --from $AKASH_KEY_NAME --node $AKASH_NODE --chain-id $AKASH_CHAIN_ID --fees 5000uakt -y, if its the first deployment it works otherwise I get this error.
Environment

akash (server): mainnet
akash (client): Linux 5.8.0-50-generic #56~20.04.1-Ubuntu
env variables set to:

export AKASH_KEYRING_BACKEND=os
export AKASH_NET="https://raw.githubusercontent.com/ovrclk/net/master/mainnet"
export AKASH_NODE="$(curl -s "$AKASH_NET/rpc-nodes.txt" | shuf -n 1)"
export AKASH_ACCOUNT_ADDRESS=akash12ljk9qgl9zlpchwwywlag3c7yz75rzjlp4m9e9
export AKASH_CHAIN_ID="$(curl -s "$AKASH_NET/chain-id.txt")"
export AKASH_VERSION="$(curl -s "$AKASH_NET/version.txt")"

Anything else we need to know?

deployment yaml is wordpress from awesome-akash repo with attributes modified to match tutorial example. (just modified host and signedBy)

@troian and I spoke about it on discord #deployments channel

you have set AKASH_DSEQ=796389 in env somewhere
to check it env | grep AKASH_DSEQ

authors: Guillembonet troian

repo: ovrclk/akash


text:
Create CONTRIBUTING.md

add missing contributing guideline

thanks for the contribution!

repo: owfdr/learn-open-source


text:
Cache Table reads from file

https://github.com/owid/etl/issues/241
Step data://garden/sdg/latest/sdg was taking a long time, and the bottleneck was reading dataset Table's from feather files. It turns out that most of the time, we've read the same table before, so caching helps a lot.
This takes the runtime of that step from ~21 mins to ~55 secs 🎉  After that, the bottleneck is still reading feather files, so it will be a bigger structural change to improve performance further if that is necessary.

~21 mins to ~55 secs

Haha, that's definitely enough...

@Marigold new PR: https://github.com/owid/etl/pull/267

repo: owid/owid-catalog-py


text:
Add an image to the ocis repo settings

The ocis repo settings provide the ability to add an image used for social media preview inlcuding central. If not set and the repo gets linked, an empty frame with some standard text is shown and looks very unprofessional.
In docs, we have for each and every repo the image set, as example see: https://github.com/owncloud/docs-ocis/settings
Because these images do have a defined size and we have a common layout, it would be best to get one from marketing similar as done for all doc repos. I already asked marketing with some ideas and will provide an image as suggestion when recieved in this issue.
The settings change must be done by one who has proper repo rights.
@micbar @butonic

done. Thank you for taking care!

authors: micbar mmattel

repo: owncloud/ocis


text:
change doc generation to go tooling based comments

The current go tags in our configuration only allok single line comments and make the config file hard to parse / understand for humans, eg:
	Name string `yaml:"name" env:"APP_PROVIDER_SERVICE_NAME" desc:"The name of the service. This needs to be changed when using more than one app provider. Each app provider configured needs to be identified by a unique service name. Possible examples are: 'app-provider-collabora', 'app-provider-onlyoffice', 'app-provider-office365'." introductionVersion:"pre5.0"`

The native go tooling already has support for Doc generation based on comments:
	// Name of the service. This needs to be changed when using more than one app provider.
        // Each app provider configured needs to be identified by a unique service name.
        // Possible examples are:
        // * 'app-provider-collabora',
        // * 'app-provider-onlyoffice'
        // * 'app-provider-office365'
	Name string `yaml:"name" env:"APP_PROVIDER_SERVICE_NAME" introductionVersion:"pre5.0"`

This would not only allow using markdown, but also the Deprecated convention understood by IDEs and other tooling.
Further reading: https://medium.com/@helbingxxx/how-to-write-go-doc-comments-421e0ca85996

The question is if we can parse this style of comments for the docs and devdocs. I'm not really sure we want to reimplement all the magic that godoc does to doc strings. Maybe we would need to run it through godoc generation and then integrate this in the docs somehow?
@mmattel @dragonchaser any opinion on this?

I am also really questioning the effort vs value in this ticket.
I vote for keeping the process as it is.

I agree with @micbar. Changing this would result in a complete rewrite of the tooling in docs/helpers. Too much effort for too little value IMHO.

From the docs pov there are some points:

Any change will more or less not affect the output printed in the admin docs - if covered by the docs helper. Rendering would be the same.
Code readability would definitely increase for the sake of the work to make it happen.
The effort to change that is two fold:

You have to touch ALL envvars.
You have to adapt the docs helpers code.

Saying that, this is a dev and no admin docs issue.

@mmattel not correct, the descriptions for the admin doc is extracted from the variable annotation, if you change that the tooling has to change as mentioned above.

Closing. The current approach is working.

authors: butonic dragonchaser kobergj micbar mmattel


text:
enhancement: Load CSP configuration file if it exists

Description
The Content Security Policy (CSP) configuration file is now loaded by default if it exists.
The configuration file looked for should be located at $OCIS_BASE_DATA_PATH/proxy/csp.yaml.
If the file does not exist, the default CSP configuration is used.
Related Issue

Fixes https://github.com/owncloud/ocis/issues/10021

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Thank you @fschade ❤

authors: fschade kulmann


text:
Fix claim selector based routing for basic auth

Description
We've fixed the claim selector based routing for requests using basic auth.
Previously requests using basic auth have always been routed to the DefaultPolicy
when using the claim selector despite the set cookie because the basic auth
middleware fakes some OIDC claims.
Now the cookie is checked before routing to the DefaultPolicy and therefore
set cookie will also be respected for requests using basic auth.
Related Issue

Unblocks https://github.com/owncloud/ocis/issues/2387

Motivation and Context
Using basic auth for testing the parallel deployment
How Has This Been Tested?

locally

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

CI fails: https://drone.owncloud.com/owncloud/ocis/7852/11/6
=== RUN   TestClaimsSelector
    selector_test.go:162: Expected Policy cookie got
--- FAIL: TestClaimsSelector (0.00s)

needs a unit test adjustment?

:boom: Acceptance test Web-Tests-ocis-smoke-ocis-storage-2 failed. Further test are cancelled...

authors: ownclouders phil-davis wkloucek


text:
test(transformer): remove dead code from fixtures update script

Follow-up after #7771 and #7779. Remove dead code from transformer fixtures updater script.

#7808  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Dec 12, 4:27 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.

authors: Dunqing overlookmotel

repo: oxc-project/oxc


text:
Parsing comments and row&column info

I want to write a linter for RDF files (especially/mainly Turtle).
It would primarily be applied to ontologies.
A base requirement for this would be, to be able to parse the files in maximum detail, including comments (native file-format comments like # foo in Turtle, not rdfs:comment "foo" ;), and to get line and column number for each parsed item.
oxttl (& co.) does not currently support that, and I found that this is generally missing in parsers.
There are of course good reasons why this is missing:

parsing performance, especially memory usage
code complexity
in most scenarios, this info is not required

How feasible is it, and how keen would you be to accept a PR that implements this, hidden behind two features (comments-parsing & row-column), or what alternatives do you suggest?

Thank you for this proposal! oxttl is strongly focused on fast streaming parsing I am afraid moving into the lossless parsing direction is going to be very painful and we will end up with a very ackward codebase. I tend to think that starting from scratch a parser would be easier. I wrote an auto formatter for Turtle and used tree-sitter for that (see the grammar)

authors: Tpt hoijui

repo: oxigraph/oxigraph


text:
Plugin breaks when a referred image file is missing

In my map structure I have an external reference to a missing image file.
When the "Generate Milestone" is called, the plugin fails to generate the translation report.
Error is :
Milestone creation failed because of: path/to/file/imageName.png
(The system cannot find the file specified)"

at com.oxygenxml.translation.support.core.MilestoneUtil.generateMD5(MilestoneUtil.java:69)
at com.oxygenxml.translation.support.core.resource.MapStructureResourceBuilder$SaxResource.getResourceInfo(MapStructureResourceBuilder.java:128)
at com.oxygenxml.translation.support.core.ChangePackageGenerator.computeResourceInfo(ChangePackageGenerator.java:93)
at com.oxygenxml.translation.support.core.ChangePackageGenerator.computeResourceInfo(ChangePackageGenerator.java:99)
at com.oxygenxml.translation.support.core.ChangePackageGenerator.computeResourceInfo(ChangePackageGenerator.java:99)
at com.oxygenxml.translation.support.core.ChangePackageGenerator.generateChangeMilestone(ChangePackageGenerator.java:272)
at com.oxygenxml.translation.ui.worker.GenerateMilestoneWorker.doInBackground(GenerateMilestoneWorker.java:28)
at com.oxygenxml.translation.ui.worker.GenerateMilestoneWorker.doInBackground(GenerateMilestoneWorker.java:1)

A missing file signals a problem in the map structure but the plugin shouldn't crash.  I suggest we report a warning in the results area and generate the milestone without that missing file. There is an API for contributing to the results area: ResultsManager

When the a file is missing the plugin will not crash and the file will be reported int the "Translation Package Builder" results pane.

authors: AdrianSorop AlexJitianu

repo: oxygenxml/Translation-Package-Builder


text:
Explicitly add VS2015 depdpency via NuGet so it can build in VS2017 w…

…hen VS2015 is not installed

Thanks for this @jerickmsft !

authors: jerickmsft pdeligia

repo: p-org/PSharp


text:
Using a keybind to open WCT whilst it's in another mode bugs out the terminal, inserting items into it in this state causes all terminals on the server to become blank

This is sorta 2 issues rolled into one.
Issue one being that when you use a keybind to open wireless crafting terminal whilst the terminal was in another mode by either shift-rightclicking in your hand or using the switch terminal button in the GUI, it opens with a crafting terminal interface but it doesn't seem to actually switch to crafting terminal mode, resulting in crafting terminal GUI but the button still displays the option to swap to WCT:

Meaning, in the above situation, the terminal still seems to think it's in fluid mode.
This leads to issue two, when you insert items into the terminal whilst it's in this state (specifically with fluid mode) it causes all terminals on the server (including normal AE2 terminals) to become blank, not showing any items until the server is restarted.
This issue was discussed a few months ago in an AE2 issue, not sure why it was never posted here too: https://github.com/AppliedEnergistics/Applied-Energistics-2/issues/4380

Relevant stack trace from the server @Dazzuh was on, happened I believe just when they tried to insert items into the wireless terminal, after which no terminals (wired or wireless) worked.
java.util.concurrent.ExecutionException: java.lang.ClassCastException: appeng.util.item.AEItemStack cannot be cast to appeng.api.storage.data.IAEFluidStack
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_265]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_265]
	at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
Caused by: java.lang.ClassCastException: appeng.util.item.AEItemStack cannot be cast to appeng.api.storage.data.IAEFluidStack
	at appeng.fluids.util.FluidList.findPrecise(FluidList.java:33) ~[FluidList.class:?]
	at appeng.me.storage.BasicCellInventory.extractItems(BasicCellInventory.java:221) ~[BasicCellInventory.class:?]
	at appeng.me.storage.MEPassThrough.extractItems(MEPassThrough.java:63) ~[MEPassThrough.class:?]
	at appeng.me.storage.MEInventoryHandler.extractItems(MEInventoryHandler.java:117) ~[MEInventoryHandler.class:?]
	at appeng.me.storage.MEInventoryHandler.extractItems(MEInventoryHandler.java:117) ~[MEInventoryHandler.class:?]
	at appeng.me.storage.DriveWatcher.extractItems(DriveWatcher.java:77) ~[DriveWatcher.class:?]
	at appeng.me.storage.NetworkInventoryHandler.injectItems(NetworkInventoryHandler.java:99) ~[NetworkInventoryHandler.class:?]
	at appeng.me.cache.NetworkMonitor.injectItems(NetworkMonitor.java:157) ~[NetworkMonitor.class:?]
	at p455w0rd.ae2wtlib.helpers.WTGuiObjectImpl.injectItems(WTGuiObjectImpl.java:203) ~[WTGuiObjectImpl.class:?]
	at appeng.util.Platform.poweredInsert(Platform.java:1229) ~[Platform.class:?]
	at appeng.util.Platform.poweredInsert(Platform.java:1218) ~[Platform.class:?]
	at p455w0rd.wct.container.ContainerWCT.shiftStoreItem(ContainerWCT.java:1143) ~[ContainerWCT.class:?]
	at p455w0rd.wct.container.ContainerWCT.func_82846_b(ContainerWCT.java:989) ~[ContainerWCT.class:?]
	at net.minecraft.inventory.Container.func_184996_a(Container.java:246) ~[afr.class:?]
	at p455w0rd.wct.container.ContainerWCT.func_184996_a(ContainerWCT.java:1154) ~[ContainerWCT.class:?]
	at net.minecraft.network.NetHandlerPlayServer.func_147351_a(NetHandlerPlayServer.java:1162) ~[pa.class:?]
	at net.minecraft.network.play.client.CPacketClickWindow.func_148833_a(CPacketClickWindow.java:38) ~[lf.class:?]
	at net.minecraft.network.play.client.CPacketClickWindow.func_148833_a(CPacketClickWindow.java:12) ~[lf.class:?]
	at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[hv$1.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_265]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_265]
	at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
	... 5 more

It's such an annoying bug. And it's disappointing to see this project being out of maintenance.

My friend accidentally reproduced it on our All The Mods 3:Remix server. Glad to know the trigger so i can avoid doing that.

Is there a solution to this serious problem?

Did some digging:

Opening with keybinds are handled by the individual Wireless terminal mods, those mods straight open the keybinds with the WirelessUltimateTerminal item.
WirelessUltimateTerminal item implementation for getStorageChannel() depends on NBT data on the WUT ItemStack and thus if it is in a different mode, it will return the StorageChannel for the mode defined in its NBT.
Opening via keybind thus results in the GUI container being opened with potentially the wrong storage channel.

authors: ChromaPIE Dazzuh HexCodeFFF MrYang-Yang malcom2073 ruifung


text:
PSA Implementations may limit hash divisor and random range to power …

…of 2

@cc10512 I am pretty sure this PR aligns with a brief discussion or two we have had on this topic on at least one PSA work group meeting.


text:
Can't access login panel locally

Hello,
I've installed PH7CMS in a web server and then copy it locally to develop and test. By the way, is it better to develop locally or directly in the web server?
I had some troubles running locally because of the path separator in windows. In the web server is Linux. It's working OK.
Now I can't go to admin panel. I've tried in several browsers.
When I put the admin page: http://localhost/carametade.tk/admin123/ > it redirects to the index.php main page. It could be something to do with Rewrite in htaccess? In the server works good.
My htaccess file has:  RewriteBase /carametade.tk/
I've windows 10. Xamp with apache and mysql. PHP Version 7.1.19.
Thank you.
Best regards,
Luis Martins

@filipe-martins Hi,
Have you used the included .htaccess ? If so you shouldn't need to modify anything.

Yes I use the original .htaccess changing only the line RewriteBase /carametade.tk/
But I can't access the admin panel.

@filipe-martins Hi,
Just leave the file as is. You don't change the RewriteBase unless you host under a subfolder.
Go to apache documentation and look at what does it do.
Just leave RewriteBase /
and you should be good.

@filipe-martins Also please leave us a nice review on sourceforge.
For your question about development. It is something pretty dangerous to use a live system for live development. You want to test before going live.

@filipe-martins Sorry my error. I was thinking this was the domain name. Have you configured the admin panel name as the documentation says?
We don't support windows platform. So I may not have much help. But I'll do my best to solve this.

@filipe-martins Windows get problem with case and path separator.

Yes I've configured the admin panel correctly.

@filipe-martins What do the log says?

In Apache error.log I don't see nothing.
I've found these in Apache Access.log:
127.0.0.1 - - [25/Jul/2018:11:41:02 +0100] "GET /carametade.tk/admin123/ HTTP/1.1" 200 24228 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
127.0.0.1 - - [25/Jul/2018:11:41:05 +0100] "GET /carametade.tk/asset/gzip/?t=css&d=static/css/js/jquery/box/&f=box.css HTTP/1.1" 200 24338 "http://localhost/carametade.tk/admin123/" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
127.0.0.1 - - [25/Jul/2018:11:41:05 +0100] "GET /carametade.tk/asset/gzip/?t=css&d=templates/themes/datelove\css/&f=common.css,style.css,layout.css,menu.css,like.css,color.css,form.css,js/jquery/rating.css,js/jquery/apprise.css,js/jquery/tipTip.css HTTP/1.1" 200 24599 "http://localhost/carametade.tk/admin123/" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
127.0.0.1 - - [25/Jul/2018:11:41:05 +0100] "GET /carametade.tk/asset/css/color.css HTTP/1.1" 200 24248 "http://localhost/carametade.tk/admin123/" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"

@filipe-martins Could you please use the file attachment option for your log file. Also give me your modified htaccess, apache logs and apache configuration file.
I will take a look at what you've got.
Also, please tell me the apache version. Not the wamp/xampp version.
Thanks

@filipe-martins Could you add the file, one by one ? So they'll be available directly in gitHub to be quoted ?
Look at the documentation for WampServer/Xampp but you should have one option of directly opening the configuration file. It should tell you where they are on the disk. Also, the version of your apache server so I can look config for 2.2 vs 2.4.

Here goes the files individually:
php.ini.txt
my.ini.txt
httpd-xampp.conf.txt
htaccess.txt
error.log
httpd.conf.txt
access.log

@filipe-martins Hi,
Would it be hard to give me the version of Apache and PHP used? Three strike out/last chance

Is this issue still relevant?

I've stopped using it because of that.
If it's fixed I'll use it in the future.

I'm not really sure of your problem. Maybe, try directly with a web hosting (some good can be found here) or use WampServer instead (https://ph7cms.com/doc/en/use-it-on-a-non-linux-host).
Unfortunately, I can't really do more. There is something wrong with the server's setup... but not sure what's the cause.
Have a great day! Thanks

Thank you.
If I find the problem I'll post it.

That would be awesome @filipe-martins
Have a great day, thanks!

Hi again  @filipe-martins 😊
If you are happy with the support and the software, it will be very nice of you to give a nice review at https://sourceforge.net/projects/ph7socialdating/

authors: filipe-martins pH-7 polynamaude


text:
Adding more genders in Ph7cms

Hi,
I like to add more genders such as "Sub Male", "Sub Female", "Dom Male', "Dom Female", "Switch Male", and "Switch Female".
Instead of - Male, Female and couple (or along with Male, Female and Couple)
How can I do it?

This will require changes in coregendermodule, database, and mutliple changes in profile, search module and other places too. I am planing to add some extra genders soon so will explain more here when I do.

Yes, unfortunately, this would involve database ENUM changes.
https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/master/_install/data/sql/MySQL/pH7_Core.sql#L86-L87
At the moment, the ENUM only contains "male", "female", "couple".
So, if you manually add some additional genders in the PHP form dropdown fields, it won't work as the current ENUM won't match with them.
Finally, it will also require some PHP modifications such as in https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/master/_protected/app/system/core/classes/GenderTypeUserCore.php

Anyway, if you aren't a PHP dev, I'm sure you will be able to find someone on a Freelance website (e.g., https://www.freshbooks.com/blog/freelance-jobs) that will be able to make those changes for 15~20 hours.
Good luck!

P.S. Your profile image is great @MKDan Really like this kind of dog 😁, the Carlin pinscher...

By the way @MKDan, if you enjoy pH7CMS, it would be amazing if you can Star it (here, on GitHub) 😊

I plan on adding to the genders in the near future and will share how this is done on this issue once I have done so.

By the way @MKDan, if you enjoy pH7CMS, it would be amazing if you can Star it (here, on GitHub) 😊

I've star it.

Interested too !

https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/746

Brilliant @Undefined-Variables  🤩
This is just an AMAZING "How To" issue!!!

I have seen the question a few times so thought id explain.


text:
datetime only works in tooltip

The datetime shows up correctly in the tooptip but is printed out in milliseconds on the xAxis.
http://imgur.com/uGtOzr4
Here are the settings for the chart.
{
  "options": {
    "chart": {
      "marginTop": 40,
      "type": "area",
      "style": {
        "fontFamily": "EricssonCapitalRegular"
      }
    },
    "plotOptions": {
      "series": {
        "stacking": ""
      },
      "area": {
        "fillOpacity": 0.15,
        "dataLabels": {
          "allowOverlap": true,
          "enabled": true,
          "padding": 0,
          "style": {
            "fontSize": "25px"
          }
        },
        "enableMouseTracking": true
      }
    },
    "tooltip": {
      "shared": true
    }
  },
  "title": {
    "style": {
      "fontWeight": "bold"
    },
    "text": "LIVE"
  },
  "loading": false,
  "size": {},
  "yAxis": {
    "minPadding": 0.2,
    "maxPadding": 0.2,
    "labels": {
      "style": {
        "fontSize": "16px"
      }
    },
    "title": {
      "margin": 20,
      "style": {
        "fontSize": "15px"
      },
      "text": "Number of Cases"
    }
  },
  "xAxis": {
    "labels": {
      "style": {
        "fontSize": "15px"
      }
    },
    "plotBands": [
      {
        "color": "rgba(255, 0, 0, .1)"
      },
      {
        "color": "rgba(255, 0, 0, .1)"
      }
    ],
    "type": "datetime",
    "tickPixelInterval": 150,
    "maxZoom": 20000,
    "style": {
      "fontSize": "15px"
    }
  },
  "credits": {
    "enabled": false
  },
  "series": [
    {
      "data": [
        [
          1442834540000,
          32
        ],
        [
          1442834589000,
          32
        ]

      ],
      "lineWidth": "3px",
      "color": "#00A9D4",
      "name": "Requests",
      "id": "series-0"
    },
    {
      "data": [
        [
          1442834540000,
          5
        ],
        [
          1442834589000,
          5
        ]
      ],
      "lineWidth": "3px",
      "color": "#89BA17",
      "name": "Unassigned requests",
      "id": "series-1"
    }
  ]
}

there was a formater function used in someother charts that ruind it when included in thisone

repo: pablojim/highcharts-ng


text:
Upgrade to OpenSAML 3.1.1

Using the pac4j-saml module in CAS 4.1 causes various kinds of exceptions, all seem to stem from the fact that pac4j uses opensaml 2.5 while CAS uses Open saml 3.1.1. Would be very helpful if pac4j started supporting 3.1.1 as well.

I can try to work on this if you want. Seems like something I could contribute.

Indeed, the CAS server is ahead of the pac4j-saml module. Your help would be great!
The only caveat is that the master in now on version 1.8 and won't be released until a few months, though I could cut a 1.7.1 release if you also provide a PR for branch 1.7.x.

Very good. I'll see what the breaking changes are. If there are none, I'll target for 1.7. Chances are there will be some, and given that this is sort of a major upgrade, 1.8 might eventually be a more natural target.

Even when upgrading with OpenSAML 3.1.1, I'm fairly confident that the pac4j API can remain unchanged and can thus fit in a 1.7.1 release. Just let me know...

I have made a number of changes, but this is proving more difficult than I thought. Would you be able to assist if I posted a PR? I do need a 2nd pair of eyes to review and make adjustments. I can either push the PR to this repo or your fork, given that it's still in dev and not ready for compile

It's always more difficult than expected ;-) Sure, I'll help you with the PR, but please push it against this main repo: https://github.com/pac4j/pac4j...

The API changes are a lot more variable than what I had thought. I event thought about using spring saml as an optional dependency but even they are also on an older version of open saml.

@mmoayyed : as we merged your update in the branch 1.7.x, I guess it's time to have the same patch for the master. Thx

Sure. At a conference this week but I'll see if I can find the time to do the merging. I assume you need another PR that is targeted at master?

Yes, I need another PR for the master (with the fix on the letter case)

Added PR #171

Also can be closed.

Let's keep this one open till the latest issues are fixed (missing dependency found in the j2e-pac4j-demo)...

authors: leleuj mmoayyed


text:
Make AppDelegate conform to AppKitDelegate

Currently, the AppKitDelegate is only set in the start() method of PaymentHistoryCoordinator and otherwise nil. However, it should be set by app start to avoid unexpected behavior in the PWA <-> SDK communication. To fix this remove the AppKitDelegate conformance of PaymentHistoryCoordinator (since this is not needed here anyway) and instead let AppDelegate conform to the protocol and set it on application(application:,didFinishLaunchingWithOptions:).

@telip007 Can you take care of this in the next weeks, when you get the chance to? Please also update the SDK.

@EmDee will do it this week :)

repo: pace/connectedfueling-app-ios


text:
Bridging text question on new SS version

In the paragraph about bridging to new SS version, it the highlighted text supposed to be '2023'?  Or did this fix happen for last year's assessment as well (i.e., the '2022' is correct)?

Yes, 2022 is correct. It is just part of the code now so used this year as well

Ok, but this is the bridging text which talks about changes specific to this year, or rather things that are new relative to last year.  So this really should be in here?   I not to worried about it in the draft document now, but I won't put it in the presentation if it really isn't part of the bridging.  @kellijohnson-NOAA - I thought you mentioned this was new for SS this year, no?

I didn’t realize this may be a new SS feature, I thought it was referring to how we changed the weight at age inputs into the forecasting which was last year, so I leave it to Kelli..

It was available for us last year but we technically didn't use it in the base model. We ran the base model, noticed the forecasts were wrong and then used a different executable for the forecasts. So it is a bit of a mess. I think it is fine to leave where it is at in the document but I was the one who put it there so I might not have the best judgement, and I am open to moving it to wherever people think it goes best. This is just one of those things that is hard when you are not using pre-compiled versions of SS3 and you use multiple executables in a given year.

Okay, no worries, I understand the nuisances here.  I'll still mention this in bridging presentations so nobody other than us knows the timing details. Closing....

repo: pacific-hake/hake-assessment


text:
Precommit is failing in CI: No module named pip

2020-02-26 14:18:38.378011 | TASK [Run it]
2020-02-26 14:18:38.983718 | test-node | [INFO] Initializing environment for https://github.com/psf/black.
2020-02-26 14:18:40.379332 | test-node | [INFO] Initializing environment for https://github.com/prettier/prettier.
2020-02-26 14:18:42.636441 | test-node | [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
2020-02-26 14:18:43.637432 | test-node | [INFO] Initializing environment for https://gitlab.com/pycqa/flake8.
2020-02-26 14:18:45.151013 | test-node | [INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy.
2020-02-26 14:18:45.976963 | test-node | [INFO] Initializing environment for https://github.com/packit-service/pre-commit-hooks.
2020-02-26 14:18:46.867616 | test-node | [INFO] Initializing environment for https://github.com/packit-service/requre.
2020-02-26 14:18:47.863610 | test-node | [INFO] Installing environment for https://github.com/psf/black.
2020-02-26 14:18:47.863693 | test-node | [INFO] Once installed this environment will be reused.
2020-02-26 14:18:47.863704 | test-node | [INFO] This may take a few minutes...
2020-02-26 14:18:52.313923 | test-node | An unexpected error has occurred: CalledProcessError: command: ('/home/zuul-worker/.cache/pre-commit/repo47iuxo14/py_env-python3.6/bin/python', '/home/zuul-worker/.cache/pre-commit/repo47iuxo14/py_env-python3.6/bin/pip', 'install', '.')
2020-02-26 14:18:52.314151 | test-node | return code: 1
2020-02-26 14:18:52.314173 | test-node | expected return code: 0
2020-02-26 14:18:52.314189 | test-node | stdout:
2020-02-26 14:18:52.314196 | test-node |     Processing /home/zuul-worker/.cache/pre-commit/repo47iuxo14
2020-02-26 14:18:52.314202 | test-node |       Installing build dependencies: started
2020-02-26 14:18:52.314207 | test-node |       Installing build dependencies: finished with status 'done'
2020-02-26 14:18:52.314213 | test-node |       Getting requirements to build wheel: started
2020-02-26 14:18:52.314218 | test-node |       Getting requirements to build wheel: finished with status 'done'
2020-02-26 14:18:52.314230 | test-node |         Preparing wheel metadata: started
2020-02-26 14:18:52.314240 | test-node |         Preparing wheel metadata: finished with status 'error'
2020-02-26 14:18:52.314246 | test-node |
2020-02-26 14:18:52.314251 | test-node | stderr:
2020-02-26 14:18:52.314256 | test-node |         ERROR: Command errored out with exit status 1:
2020-02-26 14:18:52.314265 | test-node |          command: /home/zuul-worker/.cache/pre-commit/repo47iuxo14/py_env-python3.6/bin/python /home/zuul-worker/.cache/pre-commit/repo47iuxo14/py_env-python3.6/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp9wypnuse
2020-02-26 14:18:52.314288 | test-node |              cwd: /tmp/pip-req-build-0xp8cln8
2020-02-26 14:18:52.314299 | test-node |         Complete output (40 lines):
2020-02-26 14:18:52.314304 | test-node |         /home/zuul-worker/.cache/pre-commit/repo47iuxo14/py_env-python3.6/bin/python: No module named pip

No module named pip is the error: WAT?
Originally posted by @TomasTomecek in https://github.com/packit-service/packit-service/pull/431#issuecomment-591453287

The issues solved itself: https://github.com/packit-service/packit-service/pull/429

repo: packit-service/packit-service


text:
Update installation instructions

The installation steps are a bit outdated: https://packit.dev/docs/guide/#have-packit-tooling-installed-locally

We don't need to enable updates-testing repo.
We now have Copr projects for master and releases.

(You can look at the README of packit.)

+1 I added it to the upstream project

authors: TomasTomecek lachmanfrantisek


text:
add slug and provider options for list

todo: url
i have no clue how to do the url though

fix 279

repo: packwiz/packwiz


text:
Cannot list iODBC drivers: Buffer must contain terminating zero

Getting Buffer must contain terminating zero. when trying to list drivers with the iodbc feature flag enabled on mac.
Minimal repro:
Step 1: enable the iodbc feature:
odbc-api = { version = "5.0.0", features = ["iodbc"] }

Step 2: run this code:
use odbc_api::Environment;

fn main() {
    let env = Environment::new().unwrap();
    let drivers = env.drivers();
    println!("Drivers: {:?}", drivers);
}

You'll get this error
thread 'main' panicked at /Users/matthewgapp/.cargo/registry/src/index.crates.io-6f17d22bba15001f/odbc-api-5.0.0/src/handles/sql_char.rs:63:10:
Buffer must contain terminating zero.
stack backtrace:
   0: rust_begin_unwind
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:597:5
   1: core::panicking::panic_fmt
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/panicking.rs:72:14
   2: core::panicking::panic_display
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/panicking.rs:168:5
   3: core::panicking::panic_str
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/panicking.rs:152:5
   4: core::option::expect_failed
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/option.rs:1988:5
   5: core::option::Option<T>::expect
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/option.rs:898:21
   6: odbc_api::handles::sql_char::sz_to_utf8
             at /Users/matthewgapp/.cargo/registry/src/index.crates.io-6f17d22bba15001f/odbc-api-5.0.0/src/handles/sql_char.rs:59:15
   7: odbc_api::handles::sql_char::SzBuffer::to_utf8
             at /Users/matthewgapp/.cargo/registry/src/index.crates.io-6f17d22bba15001f/odbc-api-5.0.0/src/handles/sql_char.rs:174:9
   8: odbc_api::environment::Environment::drivers
             at /Users/matthewgapp/.cargo/registry/src/index.crates.io-6f17d22bba15001f/odbc-api-5.0.0/src/environment.rs:520:35
   9: odbc_api_driver_bug_test::main
             at ./src/main.rs:5:19
  10: core::ops::function::FnOnce::call_once
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Some background: I'm trying to get iodbc to work on my mac because we need to connect to snowflake, which doesn't support unixodbc on mac. So downstream, I'm enabling the iodbc feature flag on. Would be very helpful to list out the drivers.

This is a Bug in iodbc. It is with the implementation of SQLDrivers. In this case the pointer to the buffer passed to SQLDrivers did not as commended by the ODBC standard contain a zero terminated string after the call.
Nothing odbc-api can do about this. If you find an upstream issue of iodbc we can track here, or create one in their GitHub and want to link it here I would keep this issue open in order to do so. Otherwise I would close the issue.

This is a Bug in iodbc. It is with the implementation of SQLDrivers. In this case the pointer to the buffer passed to SQLDrivers did not as commended by the ODBC standard contain a zero terminated string after the call.
Nothing odbc-api can do about this. If you find an upstream issue of iodbc we can track here, or create one in their GitHub and want to link it here I would keep this issue open in order to do so. Otherwise I would close the issue.

Thank you for looking into it. I didn't find an existing issue so I created a new one https://github.com/openlink/iODBC/issues/98.

thanks


text:
fix(lazarus-deb): Changed to lazarus-project-deb

Upstream name is different to Debian name, and cannot use provide as the .deb got his own provide. So the dependency need is cover by other apps
This fix the problem between pacstall db and apt db so pacstall -R can remove the .deb

After this is merged, I will push goverlay. This change was needed for it to work

repo: pacstall/pacstall-programs


text:
chore: add bootstrap address for tiantsi

Description
Adding bootstrap address for tiantsi

@pseudo777 Thanks

repo: pactus-project/pactus


text:
执行count语句的时候包含了set @num:=0; 自定义变量报错

[x] 我已在 issues 搜索类似问题，并且不存在相同的问题.

异常模板
使用环境

PageHelper 版本: xxx
数据库类型和版本: xxx
JDBC_URL: xxx

SQL 解析错误
分页参数
PageHelper.startPage(1, 10);
xxMapper.select(model);

原 SQL
select * from xxx where xxx = xxx

期望的结果：
select * from xxx where xxx = xxx limit 10

完整异常信息
异常信息放在这里

其他类型的错误
功能建议
详细说明，尽可能提供(伪)代码示例。

不支持

repo: pagehelper/Mybatis-PageHelper


text:
Can't install extentions from Marketplace, get PHP Error

Problem
When ever i try to install an extension from the admin market place I get a PHP error and it won't install.
Its says:
**"Whoops, looks like something went wrong"
"ClassNotFoundException" in Composer.php line 183:
Attempt to load class "Factory: from namespace "Pagekit\Installer\Helper."
Did you forget a "use" statement for e.g "RandomLib\Factory", "JsonSchema\Constraints\Factory" or "Composer\Factory"? "**
Technical Details

Pagekit version:
1.0.13

Webserver:
Apache

Database:
MySQL

PHP Version:
5.6.33

Did you install Pagekit from scratch (checking out from GitHub) or did you use the package from pagekit.com?

repo: pagekit/pagekit


text:
Feature Request: Front-end editing

Ideally you should be able to do almost everything on the front end that you can do on the back.
Being able to edit the main content of a page on the front end is the most important front end feature to start with.
Having a quick way to switch between the front and back ends would also be an improvement.

+1
I agree on "inline editing" for frontend.
Probably the backend can be tailored for clients by roles and permissions.

While I was thinking about front-end editing in the last days, I read an interesting article about it yesterday. It shows up how front-end editing actually undermines the established concept of separating front- and back-end or in other terms content from design. Also, front-end editing would not add substantial extra value (actually new functionality) like other goals on the roadmap. While I do not have experience implementing specifically such a feature, I think the effort to maintain the necessary code is (in my eyes) not worth the gain. Just my two cents.

+1

-1
Agree with @alomvar useless spent of efforts.

Agreeing with @alomvar -1

Front-End editing is for Designers who doesn't want to code or contract a coder, Period!
It's a tool hard to maintain and not useful to the client who needs to focus on the content of their website and not on page design that was already built to them. Always when I offered too many options to customize the page for my clients, they built something very problematic to their users. They don't understand about design and can't understand all the little things that makes a webpage great to end users. At the end, is my fault their website is running bad.
Only very few situations this could be useful, like Medium.com does on the article editor, but notice that the tool is focused on writing the article and not designing a full page, there are pre-built types of content with a specific design to choose, you can't change the structure, just choose one to use.

@edirpedro You just don't know what this issue is about. Not that kind of frontend editing.

+1
Use this: http://getcontenttools.com/

What might be nice is new user types E.g. "Site Owner" and "Site Designer"
The "Site Designer" user could have access to a few more features, like templates and CSS.
Whereas the "site owner" has admin access, but can not access design features (keeping it for the user).

What might be nice is new user types E.g. "Site Owner" and "Site Designer"
The "Site Designer" user could have access to a few more features, like templates and CSS.
Whereas the "site owner" has admin access, but can not access design features (keeping it for the user).

This is already possible: Create own roles and assign them specific rights. Also this is a little bit offtopic.
Regarding the topic: A simple editor to edit the code like in the backend might be ok in my opinion. The backend preview does not take theme specific styling into account so for me it looks different in the background preview and the real site. so an editor where I can easily switch between real preview and edit without the need of having multiple tabs open would be nice. Additionally it is then possible to make small changes without being required to login to the backend and find the page there ...
But I yould not include a theme designer here. Only the backend editor for sites (and maybe widgets).

+1

Editor.js would be a nice addition to the frontend editor.
https://editorjs.io/
It's easy to add new plugins.

authors: PremadeGames YoKoGFX alomvar amdad csaeum edirpedro inluxc leannephillipz newlocalmedia oneumyvakin pepperstreet rudivdme tobbexiv


text:
Multitude of things

Moved modules that don't work into an obviously named folder
Slightly changed responses to the giveaway module (and moved it to the broken folder)
Renamed modules to match their module id (to make enabling/disabling easier)

I'm looking to move some broken modules to a folder, but it seems like the CircleCI test doesn't passed when I do. Will have to look further into it.

Thank you for your contribution!

authors: alazymeme pajlada


text:
Remove Stackdriver Debugger

Describe the Enhancement
The upstream project has been archived and is no longer being supported by Google. We should remove it.

Cloud Debugger was deprecated on May 16, 2022 and the service was shut down on May 31, 2023. You can continue to use the open source Snapshot Debugger. Snapshot Debugger was archived on September 7, 2023, so it is not receiving bug fixes or security patches. Snapshot Debugger remains available for use. You can also fork the repository and maintain your own version.

https://cloud.google.com/stackdriver/docs/deprecations/debugger-deprecation
Possible Solution
Remove both the Java & Node.js Stackdriver Debugger binaries from the buildpack.
Motivation
We do not want to ship old and potentially broken/insecure dependencies.

Resolved with https://github.com/paketo-buildpacks/google-stackdriver/pull/375

repo: paketo-buildpacks/google-stackdriver


text:
Add custom HTTP client to serve matcher

Summary
This PR adds the ability to provide a *http.Client to the ServeMatcher via the helper method ServeMatcher.WithClient().
This seems like the easiest way to allow consumers to bring their own client. Alternatives included making a new ServeWithClient() method, or adding an optional client to the existing Serve() method. Both of these options seemed more confusing and involved more code.
There are a variety of ways to test that we are using a provided HTTP client - the test we wrote was the simplest way to validate this.
This is based off #140 for convenience, so we should block this PR until that one is merged (or rebase off main if that PR is not merged in a timely manner).
Use cases
The primary use-case for this is the integration tests for the php-redis-session-handler and php-memcached-session-handler buildpacks. They require that the client uses a CookieJar to persist cookies across HTTP requests to validate server-side session handling.
Additional use-cases could include custom redirect handling, for example if the web server buildpacks have HTTP-redirect logic that needs testing. The proposed implementation of bring-your-own-client is not tied to any particular client requirements.
Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[ ] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@sophiewigmore @robdimsdale What is this blocked on?

@sophiewigmore can we rebase this off of main and force-push to avoid duplicating the commits from #140 ?

authors: ForestEckhardt robdimsdale

repo: paketo-buildpacks/occam


text:
Simplify FeignClients methods

Use methods to get default contract,
encoder and decoder and use a declarative
framework for decorators.

@uschi2000 @markelliot
This may not totally solve the root cause of the pain, but I do think it's an incremental improvement. Although the Decorators stuff may be a bit overkill, I like that it allows the decoration to be done in a more declarative manner, and the ordering is also more natural -- it makes the param ordering go from deepest object to shallowest object rather than the other way around, which is what happens with the constructor syntax.
Let me know what you think.

Ping? Low-pri, but curious to hear feedback.

will look on tuesday

btw, gitcolony.com is enabled for this repository, feel free to follow the PR there.

@uschi2000 , updated PR with rough sketch of the "handler" approach (not merge-ready, but wanted to submit rough sketch for feedback before touching up).
The cleanest approach would just be to have the handlers implement feign.codec.Decoder and add a canHandle method. Unfortunately, this isn't enough for the OptionalAwareDecoder because even when it can handle the decoding, it still needs a Decoder to delegate to in order to decode the value that's inside of the optional (and it needs to wrap that before returning).
My approach for this is to have a chain have a notion of the "base" Decoder (the one that will be used if none of the handlers can handle the decode request), and to also pass that to the "decode" request of each handler in case the handler wants to make use of them.
Open to feedback on this. It may also be the case that any attempt to simplify what's here adds sufficient complexity such that it's not really worth changing what's already there...

There are some subtleties here and probably not worth pursuing this for now -- closing out.

repo: palantir/http-remoting


text:
local[*] parallelism to be determined from conf first, then fallback to available processors

Upstream SPARK-XXXXX ticket and PR link
This will break local mode parallelism for local[*]
What changes were proposed in this pull request?
local[*] to first use spark.driver.cores to determine task parallelism, else fallback to Runtime.getRuntime().getAvailableProcessors(). This is to be able to run local mode applications in containerised environments. If not core hard limits are set on the container, local[*] would use all available processors of the underlying host.

Discussed this 'offline'; can set -XX:ActiveProcessorCount instead.

authors: onursatici rshkv

repo: palantir/spark


text:
Fix jsx-wrap-multiline rule for closing parenthesis

There was a bug in this rule: having the opening parenthesis on a new line before the opening tag, but the closing parenthesis on the same line as the closing tag, would not trigger this rule.
This was caused by the fact that the index variable (as calculated by siblings.indexOf) was equal to -1 in some cases.
The index is now calculated by checking just the pos and end fields of a node, instead of the default object equality that indexOf uses.
With this change, the check that tested whether the node started with a newline is no longer needed (and with it, also the prevTokenKind variable is no longer needed).
Also, two tests have been added:

A multiline JSX component with the closing parenthesis on a new line, but the opening parenthisis on the same line
A multiline JSX component with the opening parenthesis on a new line, but the closing parenthisis on the same line

Hello.
Is it expected behavior ?
const Test: React.FC = () => {
    return ReactDOM.createPortal(

            test

                Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugiat numquam aliquid et cum quis consequatur
                commodi aliquam iure optio, ipsam voluptatum iste libero quaerat quia. Quos cupiditate eaque neque odio!

        ,
        document.querySelector("#test"),
    );
};

ERROR: src/test.tsx:3:9 - Multiline JSX elements must be wrapped in parentheses

@magic-akari I'd say yes, this is expected. The ... element is not wrapped in parentheses. The  tag is followed by a comma and a call to querySelector.

Thank you for your reply.
The parentheses I added will be erased by the prettier. And I think the parentheses are unnecessary in this case. I prefer the rule of prettier.
Since this is the expected behavior, I have no choice but to disable this rule.

Ah, you did not yet say that there is a conflict between the pretty-printer and the linter.
That does sound like a problem, maybe you can open a new issue describing your situation?

prettier will often conflict with tslint & tslint-react's formatting rules. no need to open a new issue -- my recommendation is to stop using tslint & tslint-react's formatting rules and use prettier instead. the former will not be maintained in the future. see #210

authors: adidahiya magic-akari mpsijm

repo: palantir/tslint-react


text:
Research how to get Github to push changes on master to the dev server

Github Actions should provide a way to do this.

This is working with pbot-client commits 2d290e2b79221df815e93fc7c99979ee9568f2a4 and 14cc3ae4fe14c8bb957ef2032b45673214e233c2 and pbot-api commit a506c0ce3f058ebf392942f39425c15126c0b7af.
Resources used include the one mentioned above as well as the following:

It's really very cool.

repo: paleobot/pbot-dev


text:
Request to document some basic features explicitly

If I type hint functions decorated by click.command, the argument type is typically easy to determine/guess. Would it be possible to add the recommended type hint for click.File objects in the docs? For example:@click.command()
@click.argument(
     "input",
     type=click.File("rt", encoding='utf-8'),
)
def myfunc(input: <what goes here?>) -> None: ...

I don't see an explicit mention in the docs of how options and arguments behave when combined. Should options always appear before arguments at they typically do in Unix? Do function parameters corresponding to options appear in the order of the decorators, or do they get bunched first?

We don't have documentation about type hints in general, because it's no different than how you'd hint normal Python. In the case of a text file, that would be typing.IO[str].
Options and arguments behave normally when combined. Options usually come first visually, but it doesn't matter. They're all passed by keyword.

Thanks for the explanation, and for maintaining such a useful package. I did not realize that parameter order is irrelevant. Now that this ticket exists, it's probably sufficient documentation.

authors: davidism joe-saronic

repo: pallets/click


text:
Update init.py

Fix CoburnJoe fix for NullPool and apply same fix for StaticPool too

fixes #804

I don't understand what this is fixing. The issue you've referred to does not seem related. Be sure to follow the pull request template when opening a pull request, including describing in detail what the fix is.

This appears to be https://github.com/CoburnJoe/flask-sqlalchemy/commit/3db800eb5f6dea0f28abc6394e424974914d3e7a, but sets you as the author instead of Joe. Given that he was writing this and indicated there was more he needed to consider, I don't think this PR should be merged.

authors: SixK davidism

repo: pallets/flask-sqlalchemy


text:
Why from . import views can solve circle import in Flask?

I learn from Larger Applications.In this document, It says: "all the view functions (the ones with a route() decorator on top) have to be imported in the init.py file. Not the object itself, but the module it is in."
I don't know why when I do this: from . import views,It succeed.Though from views import * can also work well.
I organize these file like this:
myapplication/
  runner.py
  myflask/
    __init__.py
    views.py
    templates/
    static/
    ...

runner.py:
from testFlask import app
app.run()

myflask/_init_.py:
from flask import Flask
app = Flask(__name__)
from . import views # why this can work????

myflask/views.py:
from . import app
@app.route('/')
def index():
    return 'Hello World!'

and I run it:
$ cd myapplication
$ python runner.py

It's OK to run this Flask app. However I want to know why from . import views can solve this circle import problem in flask? And why the doc says: Not the object itself, but the module it is in????

Please use IRC or Stack Overflow for this - the issue tracker is not the right place for general questions.

to explain - modules that are still in evaluation are already importable
so declaring the app object fist means it can be imported from other places and the cycle is resolved

your explain seems unclear.

repo: pallets/flask


text:
[help] flask 1.0 app run in click

Expected Behavior
When I try to upgrade to 1.0, my code is not compatible with 1.0 flask, how should I solve it?
@cli.command("run", help="run server")
@click.option('--mode', help="Application running mode", default="dev")
def runserver(mode, daemon, reload, preload, spew):
    if mode == 'prod':
        """
        do something
        """

    app.run(host=app.config["HOST"], port=app.config["PORT"], use_reloader=True)

if __name__ == '__main__':
    sys.exit(cli.main())

Actual Behavior
manage.py:110: Warning: Silently ignoring app.run() because the application is run from the flask command line executable.  Consider putting app.run() behind an if __name__ == "__main__" guard to silence this warning.
  app.run(host=app.config["HOST"], port=app.config["PORT"], use_reloader=True)

Environment

Python version: 3.6.4
Flask version: 1.0

Flask itself has a run command. Consider to remove your run command.

@lepture  can I override this method?

@ngxlua I think it is impossible to call app.run with flask cmd. Even when you rename it to other names. When run a cli with flask ${cmd}, it will set a FLASK_RUN_FROM_CLI flag, which will disable app.run function.

I didn't see the point of your usage. From what you provide, it seems Flask v1.0 has all the stuff you want.

If you want to configure your application, you should use the factory pattern. You can pass arguments to it using the FLASK_APP env var, or you can use the app.env property to get what FLASK_ENV was set to. You should use the standard run command to run your application with the dev server.
# app.py
def create_app():
    app = Flask(__name__)
    if app.env == 'production':
        ...
    return app

FLASK_ENV=development flask run

authors: davidism lepture ngxlua


text:
Handle breaking changes of Werkzeug v1.0.0

Describe what this patch does to fix the issue.
This fixes crash caused by v1.0.0 released by Werkzeug
Link to any relevant issues or pull requests.

Sample error stack trace:
File "/opt/python/run/venv/local/lib64/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app      response = self.full_dispatch_request()    File "/opt/python/run/venv/local/lib64/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request      rv = self.handle_user_exception(e)    File "/opt/python/run/venv/local/lib64/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception      reraise(exc_type, exc_value, tb)    File "/opt/python/run/venv/local/lib64/python3.6/site-packages/flask/_compat.py", line 33, in reraise      raise value    File "/opt/python/run/venv/local/lib64/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request      rv = self.dispatch_request()    File "/opt/python/run/venv/local/lib64/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request      return self.view_functions[rule.endpoint](**req.view_args)    File "/opt/python/current/app/application.py", line 1632, in health      return jsonify({'status': 'success'})    File "/opt/python/run/venv/local/lib64/python3.6/site-packages/flask/json.py", line 251, in jsonify      if current_app.config['JSONIFY_PRETTYPRINT_REGULAR'] and not request.is_xhr:    File "/opt/python/run/venv/local/lib/python3.6/site-packages/werkzeug/local.py", line 347, in __getattr__      return getattr(self._get_current_object(), name)  AttributeError: 'Request' object has no attribute 'is_xhr'

This started breaking on our production servers and had to add an older version of Werkzeug to the projects requirement.txt to fix it

@ShubhankarS the issue here (usage of is_xhr) has already been fixed in Flask - I think the version of Flask you are using is 0.12.X, whereas 1.0 onwards fixes this.

I had the same problem using Flask 0.12.2 which has a dependency on Werkzeug (>=0.7). So it just started picking up the break.

authors: ShubhankarS gricey432 pgjones


text:
Slow recipe generation prevents scaling

Now that I am more seriously thinking about scaling this recipe up, I wanted to start a conversation about the performance issues I foresee.
Currently we generate a dictionary of recipes in serial via a for loop. Each recipe makes an API query and then generates some keyword arguments that need to be passed to the recipe generation.
If we want to scale this up to thousands or more of recipes we should spend some time understanding which parts of this machinery take the most time and how we could maybe avoid this.
Some preliminary thoughts:

Can we create the recipes in parallel or asyncronous?
Is there a way to 'batch' requests to the ESGF API.
Or could we work out some sort of 'cache' for recipes, so that only the ones that have changed get rebuilt/need to send an API request (I believe this is not trivially possible, since we need to build the recipe first to compare hashes @cisaacstern ?)

I intend this to be a loose conversation for now, so if anyone has ideas, please feel free to discuss.

I think I made some significant progress in #13, which is now able to scale up to ~100 recipes in a reasonable time.


text:
一条链接往外写数据，内存增长很快。

@panjf2000 接收并发数大概10000，5000caps接收，然后一条链接往第三方发送，发送caps大概3000，内存增长很快。

没有下降，直至oom。

2月份的版本。

信息太少了，用这个模板重开一个吧


text:
Update Composer dependencies (2019-04-14-00-03)

Loading composer repositories with package information
Updating dependencies
Package operations: 0 installs, 22 updates, 0 removals
  - Updating drupal-composer/drupal-scaffold (2.6.0 => 2.6.1): Downloading (100%)
  - Updating symfony/http-foundation (v3.4.23 => v3.4.24): Downloading (100%)
  - Updating symfony/event-dispatcher (v3.4.23 => v3.4.24): Loading from cache
  - Updating symfony/debug (v3.4.23 => v3.4.24): Downloading (100%)
  - Updating symfony/http-kernel (v3.4.23 => v3.4.24): Downloading (100%)
  - Updating symfony/psr-http-message-bridge (v1.1.1 => v1.1.2): Downloading (100%)
  - Updating symfony/routing (v3.4.23 => v3.4.24): Downloading (100%)
  - Updating symfony/yaml (v3.4.23 => v3.4.24): Loading from cache
  - Updating symfony/process (v3.4.23 => v3.4.24): Loading from cache
  - Updating symfony/translation (v3.4.23 => v3.4.24): Downloading (100%)
  - Updating symfony/validator (v3.4.23 => v3.4.24): Downloading (100%)
  - Updating symfony/serializer (v3.4.23 => v3.4.24): Downloading (100%)
  - Updating symfony/dependency-injection (v3.4.23 => v3.4.24): Loading from cache
  - Updating symfony/console (v3.4.23 => v3.4.24): Loading from cache
  - Updating symfony/class-loader (v3.4.23 => v3.4.24): Loading from cache
  - Updating drupal/core (8.6.13 => 8.6.14): Downloading (100%)
  - Updating symfony/finder (v3.4.23 => v3.4.24): Loading from cache
  - Updating symfony/var-dumper (v3.4.23 => v3.4.24): Loading from cache
  - Updating drush/drush (8.2.2 => 8.2.3): Loading from cache
  - Updating symfony/filesystem (v3.4.23 => v3.4.24): Loading from cache
  - Updating symfony/config (v3.4.23 => v3.4.24): Loading from cache
  - Updating symfony/dom-crawler (v3.4.23 => v3.4.24): Loading from cache
Writing lock file
Generating optimized autoload files
> DrupalProject\composer\ScriptHandler::createRequiredFiles

Visual regression test failed!