text:
[portainer] portainer requires 12 character passwords

Which addon?

Addon name : Portainer
Addon version : 2.13.0

Describe the bug
portainer 2.13.0 required passwords to be 14 characters with special charactors - https://github.com/portainer/portainer/releases/tag/2.13.0
now 2.13.1 requires 12 character passwords instead - https://github.com/portainer/portainer/releases/tag/2.13.1
To Reproduce

Full addon log

Full addon config

System

Supervisor version:
Host system version:

Hi, thanks for posting this! However, as you mention, this is linked to portainer itself and not the addon... If you would want to change that you would need to post on the portainer github

Strange... It should keep your password when restarting! I changed it yesterday and when I restarted the container this morning it had kept my new password

Normally, the password from options is only applied for an initial install, or if it is itself changed

Strange... It should keep your password when restarting! I changed it yesterday and when I restarted the container this morning it had kept my new password

my mistake, it does indeed keep the password if i change it in portainer and then restart the addon AND if i change it in the addon it changes to that password
BUT you still have the issue when you first login when adding the add-on with a password less than 12 characters in 2.13.1, portainer asks you to change it, maybe update the default password to say homeassistant for 2.13.1 ?

thanks good idea!

thanks good idea!
As the requirement is "Special characters Lower case characters Upper case characters Numeric characters"
I'll have to change it to "Homeassistant123!"

thats the old requirement for 2.13.0, the new 2.13.1 is only 12 characters, no case matching
https://github.com/portainer/portainer/commit/16f8b737f1b623af76af07b162717f562ea022ff

Guess I haven't updated yet my own local HA ;-) thanks!

Ok to close the issue, with the new default password at "homeassistant" as you propose ? Hopefully a tag to remove secure password will be implemented as per issue linked above but unlikely given the history of the portainer developers.

thats perfectly fine! it at least helps with new users using version 2.13.1 and we could look at the toggle for secure password later if/when the developers do anything about it

Thanks!

Argh, changing the default seems to reset the whole database upon update :-)

Argh, changing the default seems to reset the whole database upon update :-)

yeh i spotted that but nothing you can do about it sadly

What would the new password be after updating to the latest version? Somhow I've been locked out.
Not working:
username admin,

my previous password
Homeassistant123!
homeassistant (as described in the changelogs)

Hi, the new password is homeassistantor whatever is in the addon option field password. I, the unlikely case it doesn't work, you can change the password from the addon options. Watch out a password change resets the database. If you really need to keep your old database, you need to export it, update, then import it back
Best regards

I'm back in :-)
Thanks!

authors: alexbelgium gigatexel si458

repo: alexbelgium/hassio-addons


text:
🐛 [Inadyn] Missing dependency mustache-cli

Which addon?

Addon name : Inadyn
Addon version : 2.9.1-6

Describe the bug
Unable to start this addon due to missing CLI command.
Full addon log
Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------
 Add-on: Inadyn
 Inadyn is a small and simple Dynamic DNS, DDNS, client with HTTPS support. A large number of dynamic dns providers are supported (https://github.com/troglobit/inadyn#supported-providers). For those that are not, you can use a custom provider as per this project's documentation (https://github.com/nalipaz/hassio-addons/blob/master/README.md)
-----------------------------------------------------------
 Add-on version: 2.9.1-6
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.0  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2022.9.6
 Home Assistant Supervisor: 2022.09.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
 https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
/etc/cont-init.d/99-run.sh: executing
/./etc/cont-init.d/99-run.sh: line 7: mustache-cli: command not found
/etc/cont-init.d/99-run.sh: exiting 127

Full addon config
- hostname: mysubdomain.example.com
  provider: domains.google.com
  username: hiddenusername
  password: hiddenpassword

System

Raspberry 4
Home Assistant 2022.9.6
Supervisor 2022.09.1
Operating System 9.0
Interface utilisateur : 20220907.2 - latest

Dependency used in Dockerfile seem DEPRECATED
https://github.com/alexbelgium/hassio-addons/blob/master/inadyn/Dockerfile#L85
Probably not related but 🤷♂

Seem related to
ealen hassio-addons/inadyn on  master +0 -0 [?] 祥1m33s
❯ docker run -it --rm 7942953a42cb /bin/bash
bash-5.1# go get -u github.com/quantumew/mustache-cli
go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.
        To build and install a command, use 'go install' with a version,
        like 'go install example.com/cmd@latest'
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
bash-5.1#

I found a workaround.
This behavior happen from from Go version 1.11 & GO111MODULE.
https://ao.ms/solved-go-mod-init-modules-disabled-by-go111moduleoff/
I propose to disable GO111MODULE on this project with
# Install mustache
# spellcheck disable=SC2015
# hadolint ignore=SC2015,DL3017
RUN apk add --no-cache \
    go \
    npm \
    xz \
    #    && npm install mustache-cli --global
    && apk upgrade --no-cache &&\
    apk add --no-cache --virtual .build-deps\
    build-base\
    git\
    go &&\
    # START FIX SECTION https://github.com/alexbelgium/hassio-addons/issues/491
    go env -w GO111MODULE=off &&\
    # END FIX SECTION https://github.com/alexbelgium/hassio-addons/issues/491
    go get -u github.com/quantumew/mustache-cli &&\
    cp "$GOPATH"/bin/* /usr/bin/ && \
    rm -rf "$GOPATH" /var/cache/apk/* /tmp/src &&\
    apk del .build-deps xz build-base || true

The result :
ealen hassio-addons/inadyn on  master +1 -0 [!?] 祥28s
❯ docker run -it --rm 310fc55b91c144 /bin/bash
bash-5.1# mustache-cli
Usage:
            mustache [<data-file>] <template-path> [--override=<data-file>]...
            mustache <template-path> [--override=<data-file>]...
bash-5.1#

Thanks for the great investigation!

source: gharchive/issue

authors: Ealenn alexbelgium

license: MIT

license_type: permissive

license_source: github-api


text:
⚠ Secret Website 3 has degraded performance

In e615486, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2692 ms

Resolved: Secret Website 3 performance has improved in 494b9c0.

repo: alexchapar/status-page


text:
Raw identifiers are not accepted as Idents

Raw identifiers in the form r#ident are not recognised as idents by the func Ident::validate_ident.
It seems that only the first part  of the definition in https://doc.rust-lang.org/reference/identifiers.html has been implemented.

This is intentional and mimics the behaviour of proc_macro::Ident::new, which will also fail with the message "r#ident is not a valid identifier".
The easiest way to get around this issue is to use the format_ident! macro from quote (https://docs.rs/quote/1.0.7/quote/macro.format_ident.html), which has special logic to support raw identifier parsing.

Yeah this matches the behavior of libproc_macro. For now you'd need to use format_ident or TokenStream::from_str to instantiate a raw Ident.

authors: dtolnay hetoug mystor


text:
Out of order, low memory footprint, archive reading?

Hi again, from my quest of running an image processing program in wasm (#189) I've been trying to make it work from a tar archive. It does work so thanks for that! What I'm struggling with now, is reducing the memory footprint of the program.
Since I need out-of-order access to the images inside the tar, I'm currently building a hashmap containing buffers for every file. Unfortunately, doing so takes roughly 1GB of memory for a 500MB tar file. In the context of wasm, this would be even worse since the tar itself is loaded in the browser, so it will sum to roughly 1.5GB of memory.
In an attempt to reduce this to the strict minimum (500MB in a wasm context) and almost nothing in a desktop context, I've tried storing the Entry in the hashmap, and reading them later when needed in the program. As mentionned in the doc for Archive::entries() they should be processed in sequence. So with no surprise, it did not work XD.
I'm trying to circumvent this issue without success, any idea of how I should process?

Thanks for the report! This library is intended to be pretty thin and not actually allocate anything internally, so are you sure that you're not accidentally storing copies of files and such elsewhere?
It in theory is possible with this library to get entries, learn about their content offset, and then just use indices to refer to files and not actually duplicate the contents themselves.

Yes, for the "out of order" case, to simply make it work, I initially stored the actual buffers (so yes, sort of a "copy" in memory) in a hashmap (file names as keys). As you suggested, and someone else in this reddit post, I made a separate data structure where I stored the offsets and sizes only. Now I managed to make it work correctly.
So the key point here is build data structure with bytes offset and sizes of the entries. I guess this solved my issue, (that was not so difficult in the end), so I'll close this. But at least, it makes a reference use case if you intend to add out-of-order tar entries reading later.
In practice, I used the following code:
struct FileEntry {
    offset: u64,
    length: u64,
}

fn get_buffer<R: Read + Seek>(
    name: &str,
    file: &mut R,
    entries: &HashMap<String, FileEntry>,
) -> Result<Vec<u8>, std::io::Error> {
    let entry = entries.get(name).expect("Entry is not in archive");
    read_file_entry(entry, file)
}

fn read_file_entry<R: Read + Seek>(
    entry: &FileEntry,
    file: &mut R,
) -> Result<Vec<u8>, std::io::Error> {
    let mut buffer = vec![0; entry.length as usize];
    file.seek(SeekFrom::Start(entry.offset))?;
    file.read_exact(&mut buffer)?;
    Ok(buffer)
}

authors: alexcrichton mpizenberg

repo: alexcrichton/tar-rs


text:
Effects will be rendered out of the window.

See https://github.com/leanflutter/window_manager/issues/108.
I also tried not to use any window manager, this also appear. I think this maybe a bug.

Since there's been a discussion at the issue you linked. I will answer it there.


text:
Only a few sounds in the sounds folder?

Is this a BUG or is left deliberately?

This is deliberate.


text:
Please add support for inserting/removing the LC_VERSION_MIN_MACOSX load command

Hi there
I need to do some slightly grim Mach-O header hacking on some precompiled binaries I've been given in order to make Xcode deal with them properly.
It would be great if optool had support for inserting/removing the LC_VERSION_MIN_MACOSX load command - that would be the simplest path to getting those binaries working with Xcode (although perhaps not the cleanest!).
If you're feeling generous, support for LC_VERSION_MIN_IPHONEOS might be an extra bonus for our iOS developer friends.

+1

+1 on iOS

In the end I dug up the source of the binaries I was trying to modify, and recompiled it on a newer tool chain for the macOS target that I needed. This turned out to be less effort than binary modification in my case.

repo: alexzielenski/optool

license_source: bigquery


text:
[bug]: Could not find a declaration file for module '@algolia/client-search' in v5.2.2

Description
Seems like the the issue of types not being included is back in v5.2.2. When I downgrade to 5.1.1, they are included.
Client
All
Version
5.2.2.
Relevant log output
No response

Hey, thanks for reporting the issue! Could you please let me know which env (node or browser)?

Types for algoliasearch/lite are gone too, typecheck failed in CI for me. May want to check out https://arethetypeswrong.github.io if you haven't already. Doesn't look like they were quite right™ in 5.2.1 either but they were more right, I guess. 🙂
5.2.1: https://arethetypeswrong.github.io/?p=algoliasearch%405.2.1
5.2.2: https://arethetypeswrong.github.io/?p=algoliasearch%405.2.2

Huge, thanks for the suggestion, I didn't knew that website. Bundling for node and browser is so complicated, sorry for the issues.
I think I know why types are gone but it should resolve the ones from node/browser instead 🤔

algoliasearch@5.2.3 is unable to resolve the main algoliasearch import specifier:
> tsdx build --format esm --target node --tsconfig tsconfig.src.json

⠼ Building modules
(typescript) Error: src/checks/noDependencyProblems/noDependenciesWithoutTypes.ts:2:31 - error TS2307: Cannot find module 'algoliasearch' or its corresponding type declarations.

2 import { algoliasearch } from 'algoliasearch';
                                ~~~~~~~~~~~~~~~

5.2.3: https://arethetypeswrong.github.io/?p=algoliasearch%405.2.3

import { liteClient } from 'algoliasearch/lite'

No longer works with 5.2.3, works with 5.1.1.  Node v20.17.0.  Had to roll back algolia search update.  :(

Hey team! We just attempted to upgrade to 5.2.3 today and ran into the same issue.

I think I know why types are gone but it should resolve the ones from node/browser instead 🤔

It looks like you have found the cause of the issue, but as to why it breaks, it's not always determinable ahead of time if code is browser or node only (react server components or Nextjs for example)
It looks like node recommends to use "node" and "default" over "node" and "browser" for this reason.
https://nodejs.org/api/packages.html#:~:text=When using environment,browser" condition branches.
We had attempted to implement a pnpm patch for this, but ran into some CI/CD build issues stopping us, although changing browser back to default did solve our issue.

Hey @Zach-Jaensch sorry for the issues, https://github.com/algolia/api-clients-automation/pull/3640 have everything fixed up, I'll try to ship that today

Amazing. Will try it out in the morning and let you know!

Still seeing a problem with 5.2.4 - forgot to mention I am using pnpm too.
▲ Next.js 14.2.7
  - Environments: .env.local
  - Experiments (use with caution):
    · turbo
    · webpackBuildWorker

   Creating an optimized production build ...
 ✓ Compiled successfully
   Linting and checking validity of types  ..Failed to compile.

./src/components/search/Search.tsx:3:28
Type error: Cannot find module 'algoliasearch/lite' or its corresponding type declarations.

  1 | 'use client'
  2 |
> 3 | import { liteClient } from 'algoliasearch/lite'
    |                            ^
  4 | import { InstantSearch, useInstantSearch } from 'react-instantsearch'
  5 |
  6 | import { env } from '@/config/env.mjs'
 ELIFECYCLE  Command failed with exit code 1.

Hey, yup nothing has changed in 5.2.4, https://github.com/algolia/api-clients-automation/pull/3640 is not yet merged

Hey there, I just released a 5.2.4-beta.2 version with a fix for this issue, if you have time, please try it out and let me know so I can go ahead with the PR :)
Thanks

@shortcuts Yay! It works again > algoliasearch@5.2.4-beta.2. Happy Labor Day! :)

leeeeetsss goooooooooooo!!
this will be released in stable tomorrow, happy labor day :)

Can confirm 5.2.4-beta.2 works for us as well.
It also fixed another issue with the types from "algoliasearch" not resolving correctly for the search client!
Looking forward to the stable release.
Thanks for the fix!

Sorry to bring more issues (can create a new issue if it is too unrelated) there appears to be missing type exports from the subdeps of algoliasearch. Here is the output of our nextjs app, and a minimum repo (vite react) to help with testing.
Failed to compile.

../../node_modules/.pnpm/algoliasearch@5.2.4-beta.2/node_modules/algoliasearch/dist/browser.js
Attempted import error: 'Region' is not exported from '@algolia/client-abtesting' (imported as 'ABTestingRegion').

Import trace for requested module:
../../node_modules/.pnpm/algoliasearch@5.2.4-beta.2/node_modules/algoliasearch/dist/browser.js
./src/utils/algolia/client.ts
./src/utils/algolia/search.ts

../../node_modules/.pnpm/algoliasearch@5.2.4-beta.2/node_modules/algoliasearch/dist/browser.js
Attempted import error: 'AbtestingClient' is not exported from '@algolia/client-abtesting' (imported as 'AbtestingClient').

Import trace for requested module:
../../node_modules/.pnpm/algoliasearch@5.2.4-beta.2/node_modules/algoliasearch/dist/browser.js
./src/utils/algolia/client.ts
./src/utils/algolia/search.ts

../../node_modules/.pnpm/algoliasearch@5.2.4-beta.2/node_modules/algoliasearch/dist/browser.js
Attempted import error: 'AdvancedSyntaxFeatures' is not exported from '@algolia/client-search' (imported as 'AdvancedSyntaxFeatures').

Import trace for requested module:
../../node_modules/.pnpm/algoliasearch@5.2.4-beta.2/node_modules/algoliasearch/dist/browser.js
./src/utils/algolia/client.ts
./src/utils/algolia/search.ts

../../node_modules/.pnpm/algoliasearch@5.2.4-beta.2/node_modules/algoliasearch/dist/browser.js
Attempted import error: 'AlternativesAsExact' is not exported from '@algolia/client-search' (imported as 'AlternativesAsExact').

Import trace for requested module:
../../node_modules/.pnpm/algoliasearch@5.2.4-beta.2/node_modules/algoliasearch/dist/browser.js
./src/utils/algolia/client.ts
./src/utils/algolia/search.ts

../../node_modules/.pnpm/algoliasearch@5.2.4-beta.2/node_modules/algoliasearch/dist/browser.js
Attempted import error: 'AnalyticsClient' is not exported from '@algolia/client-analytics' (imported as 'AnalyticsClient').

Import trace for requested module:
../../node_modules/.pnpm/algoliasearch@5.2.4-beta.2/node_modules/algoliasearch/dist/browser.js
./src/utils/algolia/client.ts
./src/utils/algolia/search.ts

> Build failed because of webpack errors

https://github.com/Zach-Jaensch/algoliasearch-build-issue

ngl your 2 comments were an emotional rollercoaster @Zach-Jaensch................
but it's fixed in -beta.6 :D

The fix has been released in 5.2.5!

@shortcuts thanks!
I can confirm that algoliasearch@5.2.5 has now resolved the algolia package resolution problems
Are The Types Wrong? also reports successful checks for algoliasearch@5.2.5:

https://arethetypeswrong.github.io/?p=algoliasearch%405.2.5

Thanks for testing!! I've also integrated attw and publint to our CI so we can make sure not to introduce regressions :D

Sorry for the delay (had a busy week come out of nowhere).
Thanks for getting the types all fix up, rollercoaster and all.

authors: Zach-Jaensch dstroot karlhorky kasperaamodt shortcuts wKovacs64

repo: algolia/algoliasearch-client-javascript

license: mit


text:
fix(routing): support parsing URLs with up to 100 refinements

Description
Backport of #3671 for InstantSearch v2.
Original description:

An issue raised by a customer is that when selecting more than 20 values with the routing option activated, the data structure returned by the parseURL function changes.
qs by default converts arrays with more than 20 items to an object. We want to avoid this because the data structure manipulated can therefore vary.
Setting the limit to 100 seems a good number because the engine's default is 100. It can go up to 1000 but it is very unlikely to select more than 100 items in the UI.
Reference

qs doc: https://github.com/ljharb/qs#parsing-arrays
Algolia maxValuesPerFacet doc: https://www.algolia.com/doc/api-reference/api-parameters/maxValuesPerFacet/
Original customer issue: https://algolia.slack.com/archives/C2XP6HBKQ/p1553005092109200

@Haroenv Since this is an easy fix and that this one was implemented already, I guess it's fine?

source: gharchive/pull-request

authors: francoischalifour yannickcr


text:
test(hits-per-page): add common test suite

This reworks the tests for the hits-per-page widget to move them in the common test suite, reduce flavor-specific tests, and remove unrealistic tests that manipulate internals.
FX-2513

(as you didn't remove the ui component test for js either)

That's only because there were no UI tests for this component in InstantSearch.js, but I removed everything UI-wise.
Restored the file in e4c0d2af3.

There are UI component tests: https://github.com/algolia/instantsearch/tree/master/packages/instantsearch.js/src/components/RefinementList/tests

authors: Haroenv sarahdayan

repo: algolia/instantsearch


text:
Bug report: [Build 1 | Register ]

Issue description
Test cases ID:  COM_REG101 + CAN_REG107 + COM_REG104 + CAN_REG110 + CC_EXT116
These tests have been realised on both:

External - iPhone 13 - 15.6.1
iOS simulator - iPhone 15 - 17.4

Subscribe:

ID
UX
Bug
Problem

1
x

Having to scroll to see the whole register page isn't a good thing

2
x

The 'Already ...' is too close to the Subscribe button

3
x
x
For the radio buttons, the user should be able to also click on the text and not only the button to select the status

4

?
The information written on the subscribe page are automatically transferred to the login page when switching. Is it wanted or not?

5

x
The forgot password button is redirected the user to the subscribe page

Issue priority

Low (Slightly annoying)

Version
Development
Steps taken
Just by navigating
Expected result

Maybe shrank the size of the elements
Add some margin or padding
Make the text clickable
Perhaps a feature
Some problems are due to the non-existing database

This issue was tested on a development release
52f31ed

Thanks for your feedback @Clementine951, after a quick look to the issue here's what I can tell you:
Concerning ID 4:
It is indeed a feature, from the software side, I only re-use the content inside of the Text Controllers, which are kept in memory on our side, and the user can then log-in more easily after registration.
ID 5: the forgot password page isn't already implemented, that's why it wasn't working.
I'll work right away on ID 1 and 2, they are only UI related.
And finally for ID 3, the backend hasn't been implemented just yet.

I decided to close this issue because of the opening of a new one. #37


text:
Exmaple can not run

Stage5: Get the final metrics...
Refrttm.list is not detected. Can't calculate the result

Have you followed these commands in the Readme?
mkdir examples
wget "https://modelscope.cn/api/v1/models/damo/speech_eres2net-large_speaker-diarization_common/repo?Revision=master&FilePath=examples/example.wav" -O examples/example.wav
wget "https://modelscope.cn/api/v1/models/damo/speech_eres2net-large_speaker-diarization_common/repo?Revision=master&FilePath=examples/example.rttm" -O examples/example.rttm
find examples -name ".wav" > examples/wav.list
find examples -name ".rttm" > examples/refrttm.list

I think it's tooooo messy for runing a wav to diarization,. better learn something from FunASR? it's same company but the opensource project got so much various quality.


text:
[Feature Request]: 求一份haas edu k1的蜂鸣器的python文件

Contact Details
2682394086@qq.com
What do you want?

包含这个函数的文件，谢谢大佬！
Version
master (Default)

@Ryze-b - 感谢您提出的需求，蜂鸣器相关的API支持正在开发测试中，预计将在4月10号左右开放出来，敬请关注哦

This issue has not been updated for a while, so we close this issue.  If you have further request, please reopen it or add it.  We will response as soon as possible.
本issue因太久未更新而关闭，如果您还有进一步的问题，请reopen本issue，或者新开一个issue，我们会尽快回复您。

authors: Ryze-b skylarCai sunlrain

repo: alibaba/AliOS-Things


text:
CicadaPlayer音视频同步算法

你好，请问在framework\render\video\vsync\timedVSync.cpp文件里timedVSync::timedThread()函数的
int delay = mPeriod - (mClock.get()) % mPeriod;
af_usleep(delay);
为什么音视频同步是这两条语句，不应该是音频的pts-视频的pts差值大于200或小于10这样来判断的吗

This is Vsync, NOT AVSync

为什么要af_usleep(delay)；每个视频帧之间进行休眠一次

这里是模拟了一个vsync信号，正常每个系统里面都有，比如iOS的displaylink；因为一些兼容性问题，平台相关的接口我们暂时没有用

你好，Ping Kai
向你请教下，有没开源的音视频采集代码(采集桌面画面或打开摄像头采集，同时采集音频)可以推荐
------------------ 原始邮件 ------------------
发件人: "Ping @.>;
发送时间: 2022年1月17日(星期一) 中午11:59
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [alibaba/CicadaPlayer] CicadaPlayer音视频同步算法 (Issue #693)
这里是模拟了一个vsync信号，正常每个系统里面都有，比如iOS的displaylink；因为一些兼容性问题，平台相关的接口我们暂时没有用
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

ffmpeg本身就支持吧，场景复杂的话可以看看obs

repo: alibaba/CicadaPlayer


text:
Does Dropoutnet dataset only need positive samples?

Hello, the dssm document said

注：训练样本一般只需准备点击（正样本）的样本即可

which is no shown in dropout document.
Does Dropoutnet dataset only need positive samples, just like dssm_neg_sampler?
I have tried to use only positive samples to train Dropoutnet  but the result is so poor, which makes me suspicious.

both positive and negative are necessary, it does not use negative sampled negatives.

repo: alibaba/EasyRec


text:
[NetworkX] Case studies of NetworkX

Collection of case studies of NetworkX.
network analysis

network analysis of Game of Thrones
network analysis of Airport Network
QuantumComputin
Network-Analysis-Made-Simple
Network Science with Python and NetworkX Quick Start Guide
instagram_network_analysis

Fake News Detection through Ego Network Analysis
Brainx: network analysis for neuroimaging data
Computational tools for urban analysis
crime and political corruption analysis using data mining, machine learning and complex networks
Social-Network-Analysis-in-Python

network visualization

Visualization-of-popular-algorithms-in-Python
networkx_viewer

network algorithm adon

python-louvain
Little Ball of Fur - A graph sampling extension library for NetworKit and NetworkX
Representation learning for link prediction within social networks
Community Discovery Library
Graph similarity algorithms based on NetworkX
A NetworkX addon to compute the graph Ricci curvature and Ricci flow
ScaffoldGraph is an open-source cheminformatics library
D-Wave Systems extension of the NetworkX
A NetworkX implementation of Label Propagation
EgoSplitting

use to analysis network
visualization
algorithm extend

Hi weibin, maybe we can revise them using GraphScope, to:

verify the support of NetworkX APIs
extend our demo/tutorials

I created a new repo: graphscope/playground for them, you may want to:

Create a directory: /networkx-community-scripts
When a script passed manually, add it here. (Please record its original URL and reserve its copyright claim)
Add a CI for all ipynbs in this repo. ref.

authors: acezen yecol

repo: alibaba/GraphScope


text:
[BUG] LPA failed on graph with 'string' OID

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

GraphScope version: [e.g., v0.1, v0.2.2, master]
OS: [e.g. MacOS, Linux]
Version [e.g. 10.15]
Kubernetes Version [e.g., 1.19]

Additional context
Add any other context about the problem here.

solved by https://github.com/alibaba/libgrape-lite/pull/128


text:
SDWebImage版本

Tangram.podspec中，指定了SDWebImage的版本（3.7)，我这边使用的SDWebImage版本是 4.1.0，跟Tangram冲突，Tangram使用的SDWebImage可否使用最新版本的？

相同问题，求更新！

你好，已经收到反馈，近期会进行版本的更新。因为 SDWebImage 的问题困扰的用户比较多，应该会优先先发布一版来单独处理此问题。

https://github.com/alibaba/Tangram-iOS/releases/tag/1.0.7
1.0.7版已更新至最新的SDWebImage

authors: HarrisonXi LixinQian chenliangjie

repo: alibaba/Tangram-iOS


text:
master分支最新代码
atlas-gradle-plugin的com.taobao.android.builder.tasks.transform.AtlasProguardTransform.java中，成员变量configList未初始化就直接使用，报空指针异常。

@iDev01 我也遇到了同样的问题，请解决了吗？

改成3.0.1-rc81的版本，成功编译

最新代码变量初始化一下也能改成能编译的，但是不知道原意怕出错，所以想请作者修复一下。

最新更新

repo: alibaba/atlas


text:
provider如何异步处理请求

provider端实现接口的时候，能否获取客户端连接的channel呢？这样服务端就可以异步处理客户端请求了，似乎channel已经被封装到了dubbo架构的底层了，服务端只能同步处理完请求就返回。
最近看到可以通过参数回调的方式实现服务端异步处理客户端请求，但是还是想知道能否有
RpcContext.getContext().getRemoteAddressString()的类似的api在服务端获取与客户端的channel，从而实现异步处理请求。

Dubbo支持Future和Callback两种类型的异步调用
http://dubbo.io/User+Guide-zh.htm#UserGuide-zh-参数回调

dubbo 处理异步时，会把异步的标志位往下传输，导致获取处理结果失败。

@Spectrumleeee We have provided a new async invoke implementation in 2.7.x
check https://github.com/apache/incubator-dubbo/pull/1957 for more infos.
Feel free to reopen it. &READY-TO-CLOSE&

repo: alibaba/dubbo


text:
关于边的负采样

查看源码后，我的理解是在给定比如邻居聚合类方法需要encoder的目标点后，随意采样一些点和目标点相连作为负采样。这算是准负采样？利用大多数的图具有稀疏性？
如果要自己重写边的负采样，请问是需要自己写C++代码吗？具体该如何操作呢？

可以尝试在TensorFlow代码里面把负采样结果里面属于目标点邻居的过滤掉？

用get_full_neighbor接口拿到source节点的全部邻居。然后对sample_node产生的候选负例节点进行过滤即可。

可以尝试在TensorFlow代码里面把负采样结果里面属于目标点邻居的过滤掉？

@yangsiran 貌似说反了，YanZhangN 说的是对的

authors: Piento28 YanZhangN lixusign yangsiran

repo: alibaba/euler


text:
如何对某个属性的反序列化进行自定义，以同时支持不同类型的反序列化

比如
{ "a": { "type": "base", "path": "test" } }

和
{ "a": "test" }

代表相同的对象，java对象如下定义
Class A {
    Property a;
}

Class Property {
    String type;
    String path;
}

继承ParserConfig重载getDeserializer方法返回自己定义类的ObjectDeserializer

@YoveeFisher 这个接口貌似做不到，只能支持单一的json的token，要么string，要么object，因为接口里姚指明解析哪种token

ObjectDeserializer 是个办法。
参见：https://github.com/alibaba/fastjson/pull/1664
给Property一个ObjectDeserializer，
然后在deserialze里，通过parser.input拿到"test"看看是不是一个json还是单个字符串，
1、如果是json，就调用JavaBeanDeserializer，走正常逻辑。
2、如果是一个字符串，new出来一个Property，再new一个A，返回。

authors: YoveeFisher kimmking vipcxj

repo: alibaba/fastjson


text:
如果序列化对象为Map类型时，PropertyNamingStrategy.SnakeCase会失效

fastjson版本--1.2.68
 <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
            <version>1.2.68</version>
 </dependency>

复现代码
public static void main(String[] args) {
	Map<String, Object> map = new HashMap<>();
	map.put("userId", 1111);
	map.put("nickName", "test");

	SerializeConfig config = new SerializeConfig();
	config.propertyNamingStrategy = PropertyNamingStrategy.SnakeCase;
	System.out.println(JSONObject.toJSONString(map, config, SerializerFeature.WriteMapNullValue));
}

复现结果
{"nickName":"test","userId":1111}
期望
输出的json中，key应该为下划线分隔，而不是驼峰

看了下源码 map不支持key转下划线分割

看了下源码 map不支持key转下划线分割

authors: github-ganyu lvqiushi


text:
Fix flaky test for issue#2428

The test is still flaky after last fix. Instead of using SerializerFeature.SortField, SerializerFeature.MapSortField should be used to remove the flakiness.

Codecov Report

Merging #3535 (edbf9fe) into master (37ed66b) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3535      +/-   ##
============================================
- Coverage     80.40%   80.40%   -0.01%
+ Complexity     7488     7485       -3
============================================
  Files           157      157
  Lines         27929    27929
  Branches       6737     6737
============================================
- Hits          22457    22455       -2
- Misses         3462     3465       +3
+ Partials       2010     2009       -1

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com/alibaba/fastjson/util/FieldInfo.java
85.76% <0.00%> (-1.00%)
96.00% <0.00%> (-3.00%)

...ava/com/alibaba/fastjson/parser/JSONLexerBase.java
69.97% <0.00%> (-0.04%)
812.00% <0.00%> (-1.00%)

...m/alibaba/fastjson/serializer/SerializeConfig.java
78.37% <0.00%> (+0.41%)
140.00% <0.00%> (+2.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37ed66b...edbf9fe. Read the comment docs.

authors: MengdiGao codecov-io


text:
[FEATURE] JSON 比对

请描述您的需求或者改进建议
之前看有人提过JSON比对的方法，但是后续没啥进度了，想咨询下这个超级实用的方法还会考虑增加吗？
这个链接

有考虑的，但最近比较忙，争取下个月考虑这个需求

我实现了一个json对比的工具，效果如图，看看是否满足需求

这个需求主要用于监控数据变化~
原始诉求如下：初始JSON、修改后的JSON
希望输出：哪些字段发生了变化，并且oldValue与newValue是什么~

支持数组返回
支持全部返回，或差异返回

[
    {
        "path": "field",
        "valueEqual": false,
        "typeEqual": false,
        "diffType": "MODIFY",
        "value1": "abc",
        "value2": 123456
    },
    {
        "path": "number",
        "valueEqual": false,
        "diffType": "REMOVE",
        "value1": 123
    },
    {
        "path": "string",
        "valueEqual": false,
        "typeEqual": true,
        "diffType": "MODIFY",
        "value1": "abc",
        "value2": "abcd"
    }
]

顺带问下大神性能如何？因为这个功能在我们系统是个高频操作~
任何数据库的修改都需要过这个比对方法。因为我们这边需要监控每张表的每行记录变化
所以频率非常高，比较关心性能~

性能测试数据（次数、耗时毫秒）
1024	26
2048	12
4096	18
8192	34
16384	59
32768	118
65536	243
131072	593
262144	965
524288	1929
1048576	3695

那速度应该可以，看看能否融入进去~

已经作为独立的util推送了，大佬看看怎么融合 @wenshao
https://github.com/alibaba/fastjson2/pull/2267

这个功能很实用哇~  预计什么时候可以合并呢~


text:
init error

PS D:\Github\freeline\sample> ./gradlew initFreeline --stacktrace
Incremental java compilation is an incubating feature.
find variant normalDebug start hack process...
sample merge resources task not found.
ThirdParty merge resources task not found.
variant normalMonkey is not debug, skip hack process.
variant normalRelease is not debug, skip hack process.
find variant developDebug start hack process...
sample merge resources task not found.
ThirdParty merge resources task not found.
variant developMonkey is not debug, skip hack process.
variant developRelease is not debug, skip hack process.
:initFreeline
Freeline init process start...
Downloading lastest release from https://github.com/alibaba/freeline/releases/download/v0.5.3/freeline-v0.5.3-1608251800.zip
Please wait a minute...
[get] Getting: https://github.com/alibaba/freeline/releases/download/v0.5.3/freeline-v0.5.3-1608251800.zip
[get] To: D:\Github\freeline\sample\freeline.zip.tmp
[get] https://github.com/alibaba/freeline/releases/download/v0.5.3/freeline-v0.5.3-1608251800.zip moved to https://github-cloud.s3.amazonaws.com/releases/64864962/00b3e48a-6aee-11e6-9f70-d7212f834403.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20160825%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20160825T103733Z&X-Amz-Expires=300&X-Amz-Signature=8c770a5628c0bd22399e7f404ea4ef30e986f2a27545b41c87b265291e361baf&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B filename%3Dfreeline-v0.5.3-1608251800.zip&response-content-type=application%2Foctet-stream
[get] Error getting https://github.com/alibaba/freeline/releases/download/v0.5.3/freeline-v0.5.3-1608251800.zip to D:\Github\freeline\sample\freeline.zip.tmp
:initFreeline FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':initFreeline'.

java.net.ConnectException: Connection timed out: connect

Try:
Run with --info or --debug option to get more log output.

Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':initFreeline'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:45)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: : java.net.ConnectException: Connection timed out: connect
at org.apache.tools.ant.taskdefs.Get.execute(Get.java:146)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at com.antfortune.freeline.FreelineInitializer.initFreeline(FreelineInitializer.groovy:40)
at com.antfortune.freeline.FreelineInitializer$initFreeline.call(Unknown Source)
at com.antfortune.freeline.FreelinePlugin$_apply_closure1.doCall(FreelinePlugin.groovy:19)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:554)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:535)
at org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:77)
at org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:73)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 60 more
Caused by: java.net.ConnectException: Connection timed out: connect
at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:690)
at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:715)
at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:606)
at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:596)

BUILD FAILED

抱歉，这个是github按钮第一次卡住了，然后就产生了重复提交。之前我没有注意到这个，给你带来了困扰，谢谢你的谅解。

@tianzhijiexian 没事哈

authors: lomanyong tianzhijiexian

repo: alibaba/freeline


text:
Build failed with an exception.

[DEBUG] [dispatcher] command line args: Namespace(all=False, clean=False, cleanBuild=False, debug=True, version=False, wait=False)
[DEBUG] [dispatcher] *** Android Gradle Plugin Version: 2.2.3
[DEBUG] [dispatcher] *** Freeline Gradle Plugin Version: 0.8.3
[DEBUG] [dispatcher] *** Freeline Python Version: v0.8.3
[DEBUG] collecting project info, please wait a while...
[DEBUG] [scan_changed_files_command] find /Applications/enzo/workspace/dev_code/PAMobileWallet/src/com/paic/zhifu/wallet/activity/tool/MyApp.java has modification.
[DEBUG] final apk not found, need a clean build.
[DEBUG] collecting project info, please wait a while...
[DEBUG] update apk time path: /Applications/enzo/workspace/dev_code/PAMobileWallet/build/freeline/freeline-assets/apktime
[DEBUG] new clean build flag value: 555847
[DEBUG] [task_engine] depth: 1, task: [read_project_info_task]
[DEBUG] [task_engine] depth: 1, task: [generate_file_stat_task]
[DEBUG] [task_engine] depth: 2, task: [gradle_clean_build_task]
[DEBUG] [task_engine] depth: 3, task: [clean_all_cache_task]
[DEBUG] [task_engine] depth: 3, task: [install_apk_task]
[DEBUG] [task_engine] depth: 4, task: [build_base_resource_task]
[DEBUG] [task_engine] depth: 4, task: [generate_project_info_task]
[DEBUG] [task_engine] depth: 4, task: [generate_apt_files_task]
[DEBUG] [task_engine] depth: 4, task: [append_file_stat_task]
[DEBUG] [read_project_info_task] read_project_info_task start to run after waiting 0.0s
[DEBUG] [generate_file_stat_task] generate_file_stat_task start to run after waiting 0.0s
[DEBUG] [generate_file_stat_task] save PAMobileWallet module file stat
[DEBUG] [generate_file_stat_task] generate_file_stat_task finish in 0.1s
[DEBUG] [read_project_info_task] read_project_info_task finish in 3.0s
[DEBUG] [gradle_clean_build_task] gradle_clean_build_task start to run after waiting 3.0s
[DEBUG] [gradle_clean_build_task] ./gradlew assembleDebug -P freelineBuild=true -PdisableAutoDependency=true --stacktrace
[DEBUG] [gradle_clean_build_task] Gradle build task is running, please wait a minute...
[DEBUG] [gradle_clean_build_task] gradle_clean_build_task finish in 9.7s
[DEBUG] [install_apk_task] install_apk_task start to run after waiting 12.7s
[DEBUG] [clean_all_cache_task] clean_all_cache_task start to run after waiting 12.7s
[DEBUG] [generate_apt_files_task] generate_apt_files_task start to run after waiting 9.7s
[DEBUG] [build_base_resource_task] build_base_resource_task start to run after waiting 12.7s
[DEBUG] [append_file_stat_task] append_file_stat_task start to run after waiting 0.0s
[DEBUG] [generate_project_info_task] generate_project_info_task start to run after waiting 12.6s
[DEBUG] [task_engine] task engine occurs exception, engine will exit.
[DEBUG] [task_engine] it takes task engine 12.69s to execute tasks.
[ERROR] --------------------------------------------------------
[ERROR] Freeline ERROR
[ERROR] --------------------------------------------------------
Parallel execution with configuration on demand is an incubating feature.
freeline auto-dependency disabled
WARNING: The android.dexOptions.incremental property is deprecated and it has no effect on the build process.
find variant devDebug start hack process...
find default apk path: /Applications/enzo/workspace/dev_code/PAMobileWallet/build/outputs/apk/PAMobileWallet-dev-debug.apk
Old file /Applications/enzo/workspace/dev_code/PAMobileWallet/freeline_project_description.json removed.
Save to /Applications/enzo/workspace/dev_code/PAMobileWallet/freeline_project_description.json
Freeline add additionalParameters -P /Applications/enzo/workspace/dev_code/PAMobileWallet/build/freeline/public_keeper.xml to aaptOptions
find additional jar: /Users/enzo/Library/Android/sdk/platforms/android-23/optional/org.apache.http.legacy.jar
Freeline found PAMobileWallet apt plugin enabled.
variant devRelease is not debug, skip hack process.
variant armDebug is not dev, skip hack process.
variant armRelease is not debug, skip hack process.
:preBuild UP-TO-DATE
:preArmDebugBuild UP-TO-DATE
:checkArmDebugManifest
:preArmReleaseBuild UP-TO-DATE
:preDevDebugBuild UP-TO-DATE
:preDevReleaseBuild UP-TO-DATE
:prepareCnRansjRnReactNative031KLibrary UP-TO-DATE
:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
:prepareComAndroidSupportDesign2301Library UP-TO-DATE
:preArmDebugAndroidTestBuild UP-TO-DATE
:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:prepareComAndroidSupportPaletteV72301Library UP-TO-DATE
:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE
:prepareComAndroidSupportSupportV42321Library UP-TO-DATE
:prepareComArtemzinRxjavaProguardRules1190Library UP-TO-DATE
:prepareComFacebookFrescoAnimatedBase0120Library UP-TO-DATE
:prepareComFacebookFrescoAnimatedGif0120Library UP-TO-DATE
:prepareComFacebookFrescoDrawee0120Library UP-TO-DATE
:prepareComFacebookFrescoFbcore0120Library UP-TO-DATE
:prepareComFacebookFrescoFresco0120Library UP-TO-DATE
:prepareComFacebookFrescoImagepipeline0120Library UP-TO-DATE
:prepareComFacebookFrescoImagepipelineBase0120Library UP-TO-DATE
:prepareComFacebookFrescoImagepipelineOkhttp30110Library UP-TO-DATE
:prepareComFacebookSoloaderSoloader010Library UP-TO-DATE
:prepareComFacebookStethoStetho141Library UP-TO-DATE
:prepareComFacebookStethoStethoOkhttp3141Library UP-TO-DATE
:prepareComGithubLzyzsdCircleprogress110Library UP-TO-DATE
:prepareComJakewhartonButterknife801Library UP-TO-DATE
:prepareComOrhanobutLogger115Library UP-TO-DATE
:prepareComSquareupLeakcanaryLeakcanaryAndroid14Beta2Library UP-TO-DATE
:prepareComYiqianbaoPamap02Library UP-TO-DATE
:prepareComYiqianbaoSpileboard1121Library UP-TO-DATE
:prepareComYiqianbaoSqlite3sec02Library UP-TO-DATE
:prepareComYiqianbaoZxing01Library UP-TO-DATE
:prepareInfoHoang8fAndroidSegmented106Library UP-TO-DATE
:prepareIoReactivexRxandroid121Library UP-TO-DATE
:prepareJpWasabeefRecyclerviewAnimators103Library UP-TO-DATE
:prepareKaiHuAppSdkLibReleaseLibrary UP-TO-DATE
:prepareMeLeolinShortcutBadger115Library UP-TO-DATE
:preparePafusharesdk100Library UP-TO-DATE
:preparePlDroidsonroidsGifAndroidGifDrawable1117Library UP-TO-DATE
:prepareSeEmilsjolanderStickylistheaders270Library UP-TO-DATE
:prepareArmDebugDependencies
:compileArmDebugAidl UP-TO-DATE
:compileArmDebugRenderscript
:generateArmDebugBuildConfig UP-TO-DATE
:generateArmDebugResValues UP-TO-DATE
:generateArmDebugResources
:mergeArmDebugResources UP-TO-DATE
:processArmDebugManifest UP-TO-DATE
:processArmDebugResources UP-TO-DATE
:generateArmDebugSources
:incrementalArmDebugJavaCompilationSafeguard UP-TO-DATE
:compileArmDebugJavaWithJavac FAILED
BUILD FAILED
Total time: 9.573 secs
警告: 未知的枚举常量 Datatype.STRING
原因: 找不到com.squareup.wire.Message$Datatype的类文件
警告: 未知的枚举常量 Label.REQUIRED
原因: 找不到com.squareup.wire.Message$Label的类文件
警告: 未知的枚举常量 Datatype.STRING
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.STRING
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.INT32
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.INT32
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.STRING
警告: 未知的枚举常量 Datatype.STRING
原因: 找不到com.squareup.wire.Message$Datatype的类文件
警告: 未知的枚举常量 Label.REQUIRED
原因: 找不到com.squareup.wire.Message$Label的类文件
警告: 未知的枚举常量 Datatype.STRING
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.STRING
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.INT32
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.INT32
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.STRING
/Applications/enzo/workspace/dev_code/PAMobileWallet/src/com/paic/zhifu/wallet/activity/tool/MyApp.java:15: 错误: 程序包com.antfortune.freeline不存在
import com.antfortune.freeline.FreelineCore;
^
警告: 未知的枚举常量 Datatype.STRING
原因: 找不到com.squareup.wire.Message$Datatype的类文件
警告: 未知的枚举常量 Label.REQUIRED
原因: 找不到com.squareup.wire.Message$Label的类文件
警告: 未知的枚举常量 Datatype.STRING
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.STRING
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.INT32
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.INT32
警告: 未知的枚举常量 Label.REQUIRED
警告: 未知的枚举常量 Datatype.STRING
1 个错误
33 个警告
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':compileArmDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:
Run with --info or --debug option to get more log output.

Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileArmDebugJavaWithJavac'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:48)
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:104)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:53)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:163)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:145)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:93)
at com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:245)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:232)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 14 more

[ERROR] --------------------------------------------------------
[ERROR] build failed with script: ./gradlew assembleDebug -P freelineBuild=true -PdisableAutoDependency=true --stacktrace
[ERROR] --------------------------------------------------------
[DEBUG] Prepare tasks time: 0.5s
[DEBUG] Task engine running time: 12.7s
[DEBUG] Total time: 13.2s
[DEBUG] --------------------------------------------------------

    classpath 'com.antfortune.freeline:gradle:0.8.3'
    classpath 'com.android.tools.build:gradle:2.2.3'

===========
compileSdkVersion 23
buildToolsVersion '23.0.3'
freeline {
hack true
productFlavor "dev"
autoDependency false
}

Total time: 19.279 secs
RonniedeiMac-2:PAMobileWallet enzo$ ./gradlew initFreeline
Parallel execution with configuration on demand is an incubating feature.
freeline auto add runtime dependencies: 0.8.3
WARNING: The android.dexOptions.incremental property is deprecated and it has no effect on the build process.
find variant devDebug start hack process...
variant devRelease is not debug, skip hack process.
variant armDebug is not dev, skip hack process.
variant armRelease is not debug, skip hack process.
:initFreeline
Freeline initial process start...
[ERROR] Fetching data from api occurs error
Downloading release pack from https://github.com/alibaba/freeline/releases/download/0.8.3/freeline-v0.8.3.zip
Please wait a minute...
[get] Getting: https://github.com/alibaba/freeline/releases/download/0.8.3/freeline-v0.8.3.zip
[get] To: /Applications/enzo/workspace/dev_code/PAMobileWallet/freeline.zip.tmp
[get] https://github.com/alibaba/freeline/releases/download/0.8.3/freeline-v0.8.3.zip moved to https://github-cloud.s3.amazonaws.com/releases/64864962/9a25984a-bb05-11e6-8ba1-3f27887470b9.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20161209%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20161209T065320Z&X-Amz-Expires=300&X-Amz-Signature=a7a10a294bf471e7f999f399c68ed79b51772e6c178c1928a949d2ddf08cb691&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B filename%3Dfreeline-v0.8.3.zip&response-content-type=application%2Foctet-stream
[get] Error getting https://github.com/alibaba/freeline/releases/download/0.8.3/freeline-v0.8.3.zip to /Applications/enzo/workspace/dev_code/PAMobileWallet/freeline.zip.tmp
:initFreeline FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':initFreeline'.

javax.net.ssl.SSLException: SSL peer shut down incorrectly

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 4 mins 30.662 secs

官方的demo 没有问题.git clone git@github.com:alibaba/freeline.git
cd freeline/sample
./gradlew initFreeline
python freeline.py
同样的配置.在项目里.
./gradlew initFreeline
是BUILD SUCCESSFUL
然后.  执行 python freeline.py
就出现错误.

有条log是
错误: 程序包com.antfortune.freeline不存在
但是已经在项目里了.

@samwwwc 你上面的那个 init 错误是因为没有加参数：-Pmirror，执行./gradlew initFreeline -Pmirror即可

Old file /Applications/enzo/workspace/dev_code/TestFL/freeline_project_description.json removed.
Save to /Applications/enzo/workspace/dev_code/TestFL/freeline_project_description.json
BUILD SUCCESSFUL
Total time: 37.376 secs
RonniedeiMac-2:TestFL enzo$ python freeline.py
[INFO] preparing for tasks...
[-][read_project_info_task] finished. in 8.3s
[-][generate_file_stat_task] finished. in 0.0s
[-][gradle_clean_build_task] failed. in 9.9s
[-][clean_all_cache_task] failed. in 0s
[-][install_apk_task] failed. in 0s
[-][build_base_resource_task] failed. in 0s
[-][generate_project_info_task] failed. in 0s
[-][generate_apt_files_task] failed. in 0s
[-][append_file_stat_task] failed. in 0s
[ERROR] --------------------------------------------------------
[ERROR] Freeline ERROR
[ERROR] --------------------------------------------------------
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html.
freeline auto-dependency disabled
Incremental java compilation is an incubating feature.
variant normalDebug is not develop, skip hack process.
variant normalRelease is not debug, skip hack process.
find variant developDebug start hack process...
find default apk path: /Applications/enzo/workspace/dev_code/TestFL/app/build/outputs/apk/app-develop-debug.apk
Old file /Applications/enzo/workspace/dev_code/TestFL/freeline_project_description.json removed.
Save to /Applications/enzo/workspace/dev_code/TestFL/freeline_project_description.json
Freeline add additionalParameters -P /Applications/enzo/workspace/dev_code/TestFL/app/build/freeline/public_keeper.xml to aaptOptions
TestFL merge resources task not found.
TestFL merge assets task not found.
runtime merge resources task not found.
runtime merge assets task not found.
runtime merge resources task not found.
runtime merge assets task not found.
runtime-no-op merge resources task not found.
runtime-no-op merge assets task not found.
Freeline not found apt plugin for app[aptEnabled: true, isAptEnabled: false, javaCompile: false]
variant developRelease is not debug, skip hack process.
:app:preBuild UP-TO-DATE
:app:preDevelopDebugBuild UP-TO-DATE
:app:checkDevelopDebugManifest
:app:preDevelopReleaseBuild UP-TO-DATE
:app:preNormalDebugBuild UP-TO-DATE
:app:preNormalReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2421Library UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportCompat2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportCoreUi2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportCoreUtils2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportFragment2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportMediaCompat2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportVectorDrawable2421Library UP-TO-DATE
:app:prepareDevelopDebugDependencies
:app:compileDevelopDebugAidl UP-TO-DATE
:app:compileDevelopDebugRenderscript UP-TO-DATE
:app:generateDevelopDebugBuildConfig UP-TO-DATE
:app:generateDevelopDebugFreelineConfig
:app:generateDevelopDebugResValues UP-TO-DATE
:app:generateDevelopDebugResources UP-TO-DATE
:app:resourcesInterceptorBeforeMergeDevelopDebugResources
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-compat/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-compat/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-vector-drawable/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-vector-drawable/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/animated-vector-drawable/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/animated-vector-drawable/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-core-utils/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-core-utils/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-core-ui/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-core-ui/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-media-compat/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-media-compat/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-fragment/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-fragment/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-v4/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-v4/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/src/main/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/generated/res/rs/develop/debug
add local resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/generated/res/rs/develop/debug
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/generated/res/resValues/develop/debug
add local resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/generated/res/resValues/develop/debug
Old file /Applications/enzo/workspace/dev_code/TestFL/app/build/freeline/app/resources_dependencies.json removed.
Save to /Applications/enzo/workspace/dev_code/TestFL/app/build/freeline/app/resources_dependencies.json
:app:mergeDevelopDebugResources UP-TO-DATE
:app:processDevelopDebugManifest
find manifest file path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/manifests/full/develop/debug/AndroidManifest.xml
:app:processDevelopDebugResources
:app:generateDevelopDebugSources
:app:incrementalDevelopDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileDevelopDebugJavaWithJavac
:app:compileDevelopDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:app:compileDevelopDebugJavaWithJavac FAILED
BUILD FAILED
Total time: 8.76 secs
/Applications/enzo/workspace/dev_code/TestFL/app/src/main/java/okwl/enzo/com/testfl/MyApp.java:5: 错误: 找不到符号
import com.antfortune.freeline.FreelineCore;
^
符号:   类 FreelineCore
位置: 程序包 com.antfortune.freeline
/Applications/enzo/workspace/dev_code/TestFL/app/src/main/java/okwl/enzo/com/testfl/MyApp.java:15: 错误: 找不到符号
FreelineCore.init(this);
^
符号:   变量 FreelineCore
位置: 类 MyApp
2 个错误
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:compileDevelopDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

[ERROR] --------------------------------------------------------
[ERROR] build failed with script: ./gradlew :app:assembleDevelopDebug -P freelineBuild=true -PdisableAutoDependency=true
[ERROR] --------------------------------------------------------
[DEBUG] Prepare tasks time: 0.4s
[DEBUG] Task engine running time: 18.1s
[DEBUG] Total time: 18.5s
[DEBUG] -------------------------------------------------------

执行./gradlew initFreeline -Pmirror 没问题
Old file /Applications/enzo/workspace/dev_code/TestFL/freeline_project_description.json removed.
Save to /Applications/enzo/workspace/dev_code/TestFL/freeline_project_description.json
BUILD SUCCESSFUL
Total time: 37.376 secs

执行完 ./gradlew initFreeline -Pmirror  后
执行 python freeline.py 报错.
/Applications/enzo/workspace/dev_code/TestFL/app/src/main/java/okwl/enzo/com/testfl/MyApp.java:5: 错误: 找不到符号
import com.antfortune.freeline.FreelineCore;
^
[ERROR] --------------------------------------------------------
[ERROR] build failed with script: ./gradlew :app:assembleDevelopDebug -P freelineBuild=true -PdisableAutoDependency=true
[ERROR] --------------------------------------------------------
自己写的一个helloWord demo没有其他东西.
配置是从官方demo扒的.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.antfortune.freeline:gradle:0.8.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}

apply plugin: 'com.android.application'
apply plugin: 'com.antfortune.freeline'
android {
compileSdkVersion 24
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "okwl.enzo.com.testfl"
minSdkVersion 15
targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
freeline {
hack true
productFlavor "develop"
autoDependency false
}
productFlavors {
normal {
    }

    develop {
    }
}

}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.2.1'
testCompile 'junit:junit:4.12'
}

两次执行log如下:
freeline auto add runtime dependencies: 0.8.3
Incremental java compilation is an incubating feature.
variant normalDebug is not develop, skip hack process.
variant normalRelease is not debug, skip hack process.
find variant developDebug start hack process...
variant developRelease is not debug, skip hack process.
:initFreeline
Freeline initial process start...
[NOTE] Download freeline dependency from mirror...
Downloading release pack from http://static.freelinebuild.com/freeline/0.8.3/all/freeline.zip
Please wait a minute...
[get] Getting: http://static.freelinebuild.com/freeline/0.8.3/all/freeline.zip
[get] To: /Applications/enzo/workspace/dev_code/TestFL/freeline.zip.tmp
download success.
removing existing freeline directory
[unzip] Expanding: /Applications/enzo/workspace/dev_code/TestFL/freeline.zip into /Applications/enzo/workspace/dev_code/TestFL
unziped freeline.zip.
{
"project_type": "gradle",
"android_gradle_plugin_version": "2.2.3",
"freeline_gradle_plugin_version": "0.8.3",
"java_home": "/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home",
"freeline_cache_dir": "/Applications/enzo/workspace/dev_code/TestFL",
"auto_dependency": false,
"product_flavor": "develop",
"build_script": "./gradlew :app:assembleDevelopDebug",
"build_script_work_directory": "",
"root_dir": "/Applications/enzo/workspace/dev_code/TestFL",
"main_project_name": "app",
"main_project_dir": "app",
"build_directory": "/Applications/enzo/workspace/dev_code/TestFL/app/build",
"build_cache_dir": "/Applications/enzo/workspace/dev_code/TestFL/app/build/freeline",
"build_tools_version": "24.0.2",
"sdk_directory": "/Users/enzo/Library/Android/sdk",
"build_tools_directory": "/Users/enzo/Library/Android/sdk/build-tools/24.0.2",
"compile_sdk_version": "android-24",
"compile_sdk_directory": "/Users/enzo/Library/Android/sdk/platforms/android-24",
"package": "okwl.enzo.com.testfl",
"debug_package": "okwl.enzo.com.testfl",
"main_manifest_path": "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/AndroidManifest.xml",
"launcher": "okwl.enzo.com.testfl.MainActivity",
"apk_path": "/Applications/enzo/workspace/dev_code/TestFL/app/build/outputs/apk/app-develop-debug.apk",
"extra_dep_res_paths": [
],
"exclude_dep_res_paths": [

],
"main_r_path": "/Applications/enzo/workspace/dev_code/TestFL/app/build/generated/source/r/develop/debug/R.java",
"use_jdk8": true,
"main_src_directory": [
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/developDebug/java",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/debug/java",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/develop/java",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/java"
],
"main_res_directory": [
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/developDebug/res",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/debug/res",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/develop/res",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/res"
],
"main_assets_directory": [
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/developDebug/assets",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/debug/assets",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/develop/assets",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/assets"
],
"main_jni_directory": [
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/developDebug/jni",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/debug/jni",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/develop/jni",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/jni"
],
"main_jniLibs_directory": [
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/developDebug/jniLibs",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/debug/jniLibs",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/develop/jniLibs",
    "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/jniLibs"
],
"project_source_sets": {
    "app": {
        "main_src_directory": [
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/developDebug/java",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/debug/java",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/develop/java",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/java"
        ],
        "main_res_directory": [
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/developDebug/res",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/debug/res",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/develop/res",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/res"
        ],
        "main_assets_directory": [
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/developDebug/assets",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/debug/assets",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/develop/assets",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/assets"
        ],
        "main_jni_directory": [
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/developDebug/jni",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/debug/jni",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/develop/jni",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/jni"
        ],
        "main_jniLibs_directory": [
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/developDebug/jniLibs",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/debug/jniLibs",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/develop/jniLibs",
            "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/jniLibs"
        ],
        "main_manifest_path": "/Applications/enzo/workspace/dev_code/TestFL/app/src/main/AndroidManifest.xml"
    }
},
"modules": [
    {
        "name": "app",
        "path": "/Applications/enzo/workspace/dev_code/TestFL/app"
    }
],
"module_dependencies": {
    "app": [

    ]
},
"databinding": [

],
"databinding_modules": [

]

}
Old file /Applications/enzo/workspace/dev_code/TestFL/freeline_project_description.json removed.
Save to /Applications/enzo/workspace/dev_code/TestFL/freeline_project_description.json
BUILD SUCCESSFUL
Total time: 37.376 secs
RonniedeiMac-2:TestFL enzo$ python freeline.py
[INFO] preparing for tasks...
[-][read_project_info_task] finished. in 8.3s
[-][generate_file_stat_task] finished. in 0.0s
[-][gradle_clean_build_task] failed. in 9.9s
[-][clean_all_cache_task] failed. in 0s
[-][install_apk_task] failed. in 0s
[-][build_base_resource_task] failed. in 0s
[-][generate_project_info_task] failed. in 0s
[-][generate_apt_files_task] failed. in 0s
[-][append_file_stat_task] failed. in 0s
[ERROR] --------------------------------------------------------
[ERROR] Freeline ERROR
[ERROR] --------------------------------------------------------
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html.
freeline auto-dependency disabled
Incremental java compilation is an incubating feature.
variant normalDebug is not develop, skip hack process.
variant normalRelease is not debug, skip hack process.
find variant developDebug start hack process...
find default apk path: /Applications/enzo/workspace/dev_code/TestFL/app/build/outputs/apk/app-develop-debug.apk
Old file /Applications/enzo/workspace/dev_code/TestFL/freeline_project_description.json removed.
Save to /Applications/enzo/workspace/dev_code/TestFL/freeline_project_description.json
Freeline add additionalParameters -P /Applications/enzo/workspace/dev_code/TestFL/app/build/freeline/public_keeper.xml to aaptOptions
TestFL merge resources task not found.
TestFL merge assets task not found.
runtime merge resources task not found.
runtime merge assets task not found.
runtime merge resources task not found.
runtime merge assets task not found.
runtime-no-op merge resources task not found.
runtime-no-op merge assets task not found.
Freeline not found apt plugin for app[aptEnabled: true, isAptEnabled: false, javaCompile: false]
variant developRelease is not debug, skip hack process.
:app:preBuild UP-TO-DATE
:app:preDevelopDebugBuild UP-TO-DATE
:app:checkDevelopDebugManifest
:app:preDevelopReleaseBuild UP-TO-DATE
:app:preNormalDebugBuild UP-TO-DATE
:app:preNormalReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2421Library UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportCompat2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportCoreUi2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportCoreUtils2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportFragment2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportMediaCompat2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportVectorDrawable2421Library UP-TO-DATE
:app:prepareDevelopDebugDependencies
:app:compileDevelopDebugAidl UP-TO-DATE
:app:compileDevelopDebugRenderscript UP-TO-DATE
:app:generateDevelopDebugBuildConfig UP-TO-DATE
:app:generateDevelopDebugFreelineConfig
:app:generateDevelopDebugResValues UP-TO-DATE
:app:generateDevelopDebugResources UP-TO-DATE
:app:resourcesInterceptorBeforeMergeDevelopDebugResources
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-compat/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-compat/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-vector-drawable/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-vector-drawable/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/animated-vector-drawable/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/animated-vector-drawable/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-core-utils/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-core-utils/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-core-ui/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-core-ui/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-media-compat/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-media-compat/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-fragment/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-fragment/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-v4/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/support-v4/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/24.2.1/res
add library resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/24.2.1/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/src/main/res
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/generated/res/rs/develop/debug
add local resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/generated/res/rs/develop/debug
find resource path: /Applications/enzo/workspace/dev_code/TestFL/app/build/generated/res/resValues/develop/debug
add local resource: /Applications/enzo/workspace/dev_code/TestFL/app/build/generated/res/resValues/develop/debug
Old file /Applications/enzo/workspace/dev_code/TestFL/app/build/freeline/app/resources_dependencies.json removed.
Save to /Applications/enzo/workspace/dev_code/TestFL/app/build/freeline/app/resources_dependencies.json
:app:mergeDevelopDebugResources UP-TO-DATE
:app:processDevelopDebugManifest
find manifest file path: /Applications/enzo/workspace/dev_code/TestFL/app/build/intermediates/manifests/full/develop/debug/AndroidManifest.xml
:app:processDevelopDebugResources
:app:generateDevelopDebugSources
:app:incrementalDevelopDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileDevelopDebugJavaWithJavac
:app:compileDevelopDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:app:compileDevelopDebugJavaWithJavac FAILED
BUILD FAILED
Total time: 8.76 secs
/Applications/enzo/workspace/dev_code/TestFL/app/src/main/java/okwl/enzo/com/testfl/MyApp.java:5: 错误: 找不到符号
import com.antfortune.freeline.FreelineCore;
^
符号:   类 FreelineCore
位置: 程序包 com.antfortune.freeline
/Applications/enzo/workspace/dev_code/TestFL/app/src/main/java/okwl/enzo/com/testfl/MyApp.java:15: 错误: 找不到符号
FreelineCore.init(this);
^
符号:   变量 FreelineCore
位置: 类 MyApp
2 个错误
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:compileDevelopDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

[ERROR] --------------------------------------------------------
[ERROR] build failed with script: ./gradlew :app:assembleDevelopDebug -P freelineBuild=true -PdisableAutoDependency=true
[ERROR] --------------------------------------------------------
[DEBUG] Prepare tasks time: 0.4s
[DEBUG] Task engine running time: 18.1s
[DEBUG] Total time: 18.5s
[DEBUG] --------------------------------------------------------

authors: lomanyong samwwwc


text:
当工程引入QQ浏览器x5内核的jar包的时候编译失败，100%必现

工程引入QQ浏览器x5内核的jar包的时候使用原声的没有问题，但是使用Freeline的时候报错：

What went wrong:
Execution failed for task ':app:transformClassesWithDexForDebug'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException:

这个遇到过吗？
这是QQ浏览器的官网：http://x5.tencent.com/tbs/index.html

@wanyt 这个倒是没有测试过，是否可以提供一个可以复现问题的sample工程呢？

是我工程的问题，麻烦了。

authors: lomanyong wanyt


text:
[feature request] Post Request Body Validation rules

Issue Description
For a HTTP request, if the method is POST, they may be a request body in it. Then pouch daemon side needs to validate these parameter. This issue is to track all the validation rules for this request  body. In the issue, I only tracked fields which are in type of string, []string, map[string]interface{}.
We should make this validation rules clear, and add these restrictions in swagger.yml. After that, we generate struct codes and user generated validation funcs in APIxxx_bridge.go.

[ ] ContainerCreateConfig

[ ] ContainerConfig
[ ] HostConfig
[ ] NetworkingConfig

[x] ExecCreateConfig: https://github.com/alibaba/pouch/pull/453
[x] VolumeCreateConfig: https://github.com/alibaba/pouch/pull/452
[ ] NetworkCreateConfig

@rudyfly Please check the VolumeCreateConfig and NetworkCreateConfig;
@YaoZengzeng Please check whether CRI implementation side needs more restrictions;
@CodeJuan Please master this part, as in the future you will maintain all the API side of Pouch.
@sunyuan3 @Letty5411 Please get these validation aware and we will use these rules to test Pouch Daemon in the following steps.
Also /cc @skoo87 @yyb196 @Ace-Tang @zzchun @zeppp @ZouRui89
ContainerConfigWrapper
ContainerConfigWrapper.ContainerConfig

Parameter
type
length
pattern

Hostname
string

Domainname
string

User
string

ExposedPorts
string

Env
string

Cmd
string

Image
string

Volumes
map[string]xxx

WorkingDir
string

Entrypoint
[]string

MacAddress
string

OnBuild
string

Labels
string
3-129
[a-zA-Z0-9][a-zA-Z0-9_-.]{0,63}=[a-zA-Z0-9][a-zA-Z0-9_-. ]{0,63}

StopSignal
string

StopTimeout
int64
0-max

Shell
[]string

ContainerConfigWrapper.HostConfig

Parameter
type
length
pattern

Binds
[]string
0-max

ContainerIDFile
string

LogConfig
map[string]string

NetworkMode
string

PortBindings
map[string]PortBinding

AutoRemove
string

VolumeDriver
string
1-64
[a-zA-Z0-9][a-zA-Z0-9_-.]{0,63}

VolumesFrom
[]string

CapAdd
[]string

CapDrop
[]string

Dns
[]string

DnsOptions
[]string

DnsSearch
[]string

ExtraHosts
[]string

GroupAdd
[]string

IpcMode
string

(none)

Cgroup
string

Links
string

OomScoreAdj
int64

PidMode
string

SecurityOpt
[]string

StorageOpt
map[string]string

Tmpfs
map[string]string

UTSMode
string

UsernsMode
string

ShmSize
int64

Sysctls
map[string]string

Runtime
string

ConsoleSize
int64

Isolation
string

(default

ContainerConfigWrapper.NetworkingConfig.EndpointSettings

Parameter
type
length
pattern

Links
[]string

NetworkID
string

EndpointID
string

Gateway
string

IPAddress
string

IPPrefixLen
string

IPv6Gateway
string

GlobalIPv6Address
string

GlobalIPv6PrefixLen
string

MacAddress
string

DriverOpts
map[string]string

ExecCreateConfig
This config has been covered in #453.

Parameter
type
length
pattern

Cmd
[]string
1-max

VolumeCreateConfig
This config has been covered in https://github.com/alibaba/pouch/pull/452.

Parameter
type
length
pattern

Name
string
1-64
[a-zA-Z0-9][a-zA-Z0-9-_.]{0,63}

Driver
string
1-64
[a-zA-Z0-9][a-zA-Z0-9-_.]{0,63}

DriverOpts
map[string]string
value:1-128
value:[a-zA-Z0-9][a-zA-Z0-9-_.]{0,127}

Labels
map[string]string
value:1-128
value:[a-zA-Z0-9][a-zA-Z0-9-_.]{0,127}

NetworkCreateConfig

Parameter
type
length
pattern

Name
string
1-64
[a-zA-Z0-9][a-zA-Z0-9_-.]{0,63}

Driver
string
1-64
[a-zA-Z0-9][a-zA-Z0-9_-.]{0,63}

Scope
string
1-64
(local)|(global)

Labels
string
3-129
[a-zA-Z0-9][a-zA-Z0-9_-.]{0,63}=[a-zA-Z0-9][a-zA-Z0-9_-. ]{0,63}

NetworkCreateConfig.IPAM

Parameter
type
length
pattern

IPAM.Driver
string
1-64
[a-zA-Z0-9][a-zA-Z0-9_-.]{0,63}=[a-zA-Z0-9][a-zA-Z0-9_-. ]{0,63}

IPAM.Options
map[string]string
value: 1-64
[a-zA-Z0-9][a-zA-Z0-9_-.]{0,63}[a-zA-Z0-9][a-zA-Z0-9_-. ]{0,63}

IPAM.Config
[]IPAMConfig
array length: 0-32

NetworkCreateConfig.IPAM.IPAMConfig

Parameter
type
length
pattern

Subnet
string
0-32

IPRange
string
0-32

Gateway
string
0-32

AuxAddress
string
0-32

This is the work we mostly rely on swagger. @zhuangqh used to keep an eye on the development of swagger on this validation part. Could you sync something with us? This is a really huge part for PouchContainer to polish the api layer.

I see. I'll track this matter continually. @allencloud

Thanks to pr https://github.com/alibaba/pouch/pull/2350 put forwards by @zhuangqh, now we have the foundation to make this issue move on. Could you help to take this one step by step.
I think there is more than one thing to add:

make sure all to validations of input request boby's fields;
add validation code in the pouchd.

authors: allencloud zhuangqh

repo: alibaba/pouch


text:
bugfix: add attach volume when container start

Ⅰ. Describe what this PR did
Add attach volume  when container start. Now volume attaching is
at container create stage, but if host have been restarted, container won't be
created, so volume can't be attached.
Add Config() for volume driver, it makes volume driver can use the
configure of volume in daemon. Now set volume-meta-dir and
volume-timeout into driver config.
Ⅱ. Does this pull request fix one issue?

NONE
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
A running container can start again after host have been restarted.
Ⅴ. Special notes for reviews
Signed-off-by: Rudy Zhang rudyflyzhang@gmail.com

Codecov Report

Merging #1483 into master will increase coverage by 24.09%.
The diff coverage is 72%.

@@             Coverage Diff             @@
##           master    #1483       +/-   ##
===========================================
+ Coverage    16.3%   40.39%   +24.09%
===========================================
  Files         208      251       +43
  Lines       13883    16507     +2624
===========================================
+ Hits         2263     6668     +4405
+ Misses      11464     8979     -2485
- Partials      156      860      +704

Impacted Files
Coverage Δ

storage/volume/modules/tmpfs/tmpfs.go
18.75% <100%> (ø)

storage/volume/modules/local/local.go
74.24% <100%> (ø)

daemon/mgr/volume.go
79.16% <100%> (+79.16%)
:arrow_up:

storage/volume/driver/remote.go
70% <100%> (ø)

daemon/mgr/container.go
49.34% <53.84%> (+49.34%)
:arrow_up:

storage/volume/core.go
52.91% <77.77%> (ø)

daemon/logger/jsonfile/utils.go
70% <0%> (ø)
:arrow_up:

internal/generator.go
100% <0%> (ø)

cri/stream/httpstream/httpstream.go
0% <0%> (ø)

storage/volume/driver/context.go
8.69% <0%> (ø)

... and 118 more

authors: codecov-io rudyfly


text:
NacosLoadBalancer.getServiceCache()报空指针，导致通过feign远程调用接口Unknown Source

spring-cloud-starter-alibaba-nacos-discovery-2021.0.1.0
spring-cloud-starter-alibaba-nacos-config-2021.0.1.0
spring-cloud-starter-loadbalancer-3.1.1
spring-boot-starter-parent-2.6.3
spring-cloud-starter-openfeign-3.1.1
错误如下，这个错误不是一直有，基本上会半个月到一个月出现一次，所以不好复现，程序内部多线程通过feign远程调用一个接口，麻烦帮看看：

补充几张可能有用的图（生产环境不让导出，照片都是冒着杀头拍的）

@HeZhanfeng 建议对堆栈中的相关公司包名进行涂抹以保护隐私性

hello @HeZhanfeng @ruansheng8
NacosLoadBalancer.getServiceCache() 我没有在源码中找到这个方法。

hello @HeZhanfeng @ruansheng8 NacosLoadBalancer.getServiceCache() 我没有在源码中找到这个方法。

@HeZhanfeng 是否有使用 MSE 相关 Agent

你好@HeZhanfeng @ruansheng8NacosLoadBalancer.getServiceCache() 我没有在源码中找到这个方法。

@HeZhanfeng是否有使用MSE相关代理

可能存在，能具体说一下这个为何引发问题吗，我去问问云平台的人

@HeZhanfeng建议对Stack中的相关公司包名进行修改以保护隐私性

感谢提醒

你好@HeZhanfeng @ruansheng8 NacosLoadBalancer.getServiceCache() 我没有在源码中找到这个方法。

确实没，找到只有getInstanceResponse方法，我问了一下底层自己有基于sca封装了一层，然后给我们使用的

你好@HeZhanfeng @ruansheng8 NacosLoadBalancer.getServiceCache() 我没有在源码中找到这个方法。

确实没，找到只有getInstanceResponse方法，我问了一下底层自己有基于sca封装了一层，然后给我们使用的

com.alibaba.cloud.nacos.discovery.ServiceCache 已经实现了缓存，可以考虑切换到sca默认实现

你好@HeZhanfeng @ruansheng8 NacosLoadBalancer.getServiceCache() 我没有在源码中找到这个方法。

确实没，找到只有getInstanceResponse方法，我问了一下底层自己有基于sca封装了一层，然后给我们使用的

com.alibaba.cloud.nacos.discovery.ServiceCache 已经实现了缓存，可以考虑切换到sca默认实现

受人限制，只能用甲方要求的技术栈

authors: HeZhanfeng galaxy-sea ruansheng8

repo: alibaba/spring-cloud-alibaba


text:
场景案例文档 bug

Help us to manage our issues by answering the following:

How would you tag this issue?

Bug

Describe your issue:

https://alibaba.github.io/uform/#/YZCyCk/7lC3CXsVhB
antd 简单场景中的年份选择框，点击选项无响应，貌似是因为 antd 中没有该类型

Bug Report Template

修改为 month 即可
 <Field type="month" title="年份" name="year" />

请看该issue，应该是antd的问题 https://github.com/ant-design/ant-design/issues/16436

目前antd的作者已经回复，这个是一个已知问题，后续会新增YearPicker组件，建议先用Select实现年选择的功能

authors: dreamkidd janryWang

repo: alibaba/uform


text:
support onPressIn onPressOut

Just like React Native.
http://facebook.github.io/react-native/docs/touchablewithoutfeedback.html#onpressin

Hi there,
Currently we support

touchstart
touchmove
touchend
touchcancel

for device touching events, and

panstart
panmove
panend
swipe
longpress

for advanced touch gestures.
Maybe touchstart and touchend is what you need.

Thanks for your reply.
That's awesome, I will have a try.
Is the documentation missing something?
I just can not find any details about touch* events in this page http://alibaba.github.io/weex/doc/references/common-event.html

We will review our docs and fix it. Thx.

authors: Jinjiang MrRaindrop pcxiong

repo: alibaba/weex