Using data-attributes as selectors

I have added data-attributes to test-relevant elements and want to use them as selectors in my shared-objects. So I can work with them in my page-objects.
I tried following this blogpost: https://blog.kentcdodds.com/making-your-ui-tests-resilient-to-change-d37a6ee37269
My shared-object currently looks like this:
elem: {
        usernameInput: 'rootNode.querySelector("[data-testid="username"]")',
        passwordInput: 'rootNode.querySelector("[data-testid="password"]")'
}

And I try using them in my page-object this way:
 await driver.setValue(shared.loginData.elem.usernameInput, username)
 await driver.setValue(shared.loginData.elem.passwordInput, password)

I am getting this error:
C:\Users\***\******\klassi-js-master>node index.js -d -t @Login
@Login
Feature: Logging in

  @Login
  Scenario Outline: User inputs the username and password
    Given The user arrives on the homepage
    When they put in ********* and ********* and click the login-button
{"message":"\tScreenshot saved to: ./artifacts/visual-regression/new-screens/chrome/positive/*********_1-0.png","level":"info"}
    × failed
      invalid selector: An invalid or illegal selector was specified
Error: Argument was an invalid selector (e.g. XPath/CSS).
    at elements("rootNode.querySelector("[data-testid="username"]")") - C:\Users\Job\Desktop\integration-tests\node_modules\webdriverio\build\lib\commands\setValue.js:29:17
    at setValue("rootNode.querySelector("[data-testid="username"]")"<EMAIL_ADDRESS>- C:\Users\Job\Desktop\integration-tests\page-objects\teacherLogin.js:17:22
    Then they should see their dashboard
    - skipped

Any idea on how to access the data-attributes properly?

fixed, was an escaping issue with "

fixed, was an escaping issue with "

fixed, was an escaping issue with "

fixed, was an escaping issue with "


adding template for additional env variables

What this PR does / why we need it:
Adding the template for the additional environment variables which can be used to accommodate the password to connect to the redis database.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
N/A
Special notes for your reviewer:
@acondrat

/assign @seanknox

/ok-to-test

/assign lachie83

/retest


Simplify provider names

Currently provider names are a bit verbose (e.g. --provider=carbonintensity.org.uk). For those getting started, this could take a bit getting used to, and would be easier to forget.
Shorter, more memorable, provider names would lead to a slightly nicer developer experience.

Thanks @fershad this is great feedback. I went with the domains as they are unique but you're right they are hard to remember / work with.
What about using these names instead?

CarbonIntensityOrgUK
ElectricityMap
Ember
WattTime

We could also add a grid-intensity provider list command that outputs all the supported providers. I think that would be useful as we add more providers. WDYT?

Thanks @rossf7. These look good.
Having the grid-intensity provider list command will be very handy for exposing these. It'll help with the onboarding docs as well, since we'd be able to tell people to run the command, rather than having to go through a list of providers on the docs site.

Thanks @fershad I'm adding the provider names as part of the refactoring in #44 and then I'll add the provider list command.

Thanks Ross. Can you tag me in the PR when that's ready. I'll start updating the docs then.

@fershad Will do but the refactoring will take a couple of PRs.
So I'll do the updating of the provider names in a separate PR. Rather than mixing the formats. I'll tag you in that PR.

Changes are merged and will go in the next release.


feat: [merchantapi] new module for merchantapi

python3.9 generation/new_client/new-client.py generate
--api_shortname=merchantapi
--proto-path=google/shopping/merchant/reports
--name-pretty=“Merchant API”
--product-docs=“https://developers.google.com/merchant/api”
--api-description=“Programmatically manage your Merchant Center accounts.”
--distribution-name=“com.google.shopping:google-shopping-merchant-reports”

@mpeddada1 would you mind sharing the generation command used to generate the library?

@mpeddada1 would you mind sharing the generation command used to generate the library?

Good point! Added.

Both reports and inventories are being added to the same directory, therefore creating a conflict. Re-generating this library.


Community request: please review the 7.0.0 PR. It has a lot of breaking changes in it but should fix a lot of stuff.

https://github.com/mojotech/jeet/pull/505
I'll leave this up for a few days then push the button.

https://github.com/mojotech/jeet/releases/tag/7.0.0


Add prepend functionality to allow adding to top of list

One of the issues, I'm having and a few people are having is the ability to prepend to a list especially in use cases of a chat application. See issue: https://github.com/EdsonBueno/infinite_scroll_pagination/issues/244 . In my case, I'm paginating the chat and coupling it with a snapshot listener which should prepend the list with the newest chat item.
Currently there is no way of doing that efficiently and would have to do it outside of the pagingcontroller along with managing unnecessary state. It turns out the solution is pretty simple within the codebase. I've written the feature and simple test for it and I'm using this version in my app currently. It would be nice if it could be merged or considered. Please let me know if there are any concerns, I'll be more than happy to address them
Edit: PS
There is no contributing guide, so I'm unsure of how to contribute the project, please let me know if there is a

My current solution to prepend items is to check the index in the builder. If the index is 0, then the builder will return a Column with the prepended widgets and the first widget as its children.
Personally, I don't find this prepend functionality to be necessary but I agree this functionality might be a more elegant solution to this problem.

It should be very easy to add this functionality from the outside:
extension PrependPageExtension<PageKeyType, ItemType> on PagingController<PageKeyType, ItemType> {
  /// Prepends [newItems] to the previously loaded ones
  void prependPage(List<ItemType> newItems) {
    final previousItems = value.itemList ?? [];
    final itemList = newItems + previousItems;
    value = PagingState<PageKeyType, ItemType>(
      itemList: itemList,
      error: null,
      nextPageKey: nextPageKey,
    );
  }
}

and youre done. now you can use that method on any Controller just like it was always part of it.

It should be very easy to add this functionality from the outside:
extension PrependPageExtension<PageKeyType, ItemType> on PagingController<PageKeyType, ItemType> {
  /// Prepends [newItems] to the previously loaded ones
  void prependPage(List<ItemType> newItems) {
    final previousItems = value.itemList ?? [];
    final itemList = newItems + previousItems;
    value = PagingState<PageKeyType, ItemType>(
      itemList: itemList,
      error: null,
      nextPageKey: nextPageKey,
    );
  }
}

and youre done. now you can use that method on any Controller just like it was always part of it.

I was able to get the updated value, but it's not being displayed in PagedListView, what could be the issue?
I applied the extension method in my bloc event.

I believe this to be a fine addition but Edson has never expressed whether this would be appropriate.
Additionally, I am shying away from adding more methods to the Controller right now as I am looking into simplifying it greatly.
For those reasons I will close this PR for now.
Thank you for your contribution nonetheless.


Blank Screen when favourite triggers list is empty

Screen should show message about list being empty.
Changes needed to be done in
src/main/java/org/hawkular/client/android/fragment/FavTriggersFragment.java
Refer #91 for help.

@garg-anuj Would like to work on this.

@sauravvishal8797 Go ahead


"No Player Position Set Exception" Error

Every time I try to run the bot, I get the following error,
[sentry.errors.uncaught] [ERROR] [u'NoPlayerPositionSetException', u'  File "pokecli.py", line 595, in <module>', u'  File "pokecli.py", line 162, in main', u'  File "pokecli.py", line 197, in report_summary', u'  File "pokemongo_bot/metrics.py", line 84, in capture_stats', u'  File "pokemongo_bot/api_wrapper.py", line 101, in call', u'  File "pokemongo_bot/api_wrapper.py", line 57, in 'can_call']
How do you fix this?

Could you please provide your config file, OS, ...? I'd think you forgot to put coordinates in it.

@Matttter Sure. Config files are in .JSON and I am running OS X 10.11.5. I put in coordinates when prompted to do so

Can you go into the configs folder (which is inside the PokemonGo-Bot
folder) and copy/paste the config.json content (don't forget to delete
password and account and gmap api key) here? That's what I meant, sorry.
On Mon, Aug 15, 2016, 15:41 user121349<EMAIL_ADDRESS>wrote:

@Matttter https://github.com/Matttter Sure. Config files are in .JSON
and I am running OS X 10.11.5. I put in coordinates when prompted to do so
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PokemonGoF/PokemonGo-Bot/issues/3994#issuecomment-239803855,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMhqQ1lNbgDgZO74CFtcAmKly1og3J7Kks5qgGwTgaJpZM4JkW5W
.

@Matttter Here it is. I ran through the set up using ./setup.sh -i, but when I go into the config file the username, password, location, and gmapkey all have placeholders. Is that normal?
`{
"auth_service": "google",
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD",
"location": "SOME_LOCATION",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"encrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "SleepSchedule",
"config": {
"enabled": false,
"time": "22:54",
"duration":"7:46”,l
"time_random_offset": "00:24",
"duration_random_offset": "00:43"
}
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "UpdateLiveStats",
"config": {
"enabled": false,
"min_interval": 10,
"stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
"terminal_log": true,
"terminal_title": true
}
},
{
"type": "TransferPokemon"
},
{
"type": "NicknamePokemon",
"config": {
"enabled": false,
"nickname_template": "{iv_pct}_{iv_ads}"
}
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
"type": "RecycleItems",
"config": {
"min_empty_space": 15,
"item_filter": {
"Pokeball":       { "keep" : 100 },
"Potion":         { "keep" : 10 },
"Super Potion":   { "keep" : 20 },
"Hyper Potion":   { "keep" : 30 },
"Revive":         { "keep" : 30 },
"Razz Berry":     { "keep" : 100 }
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "CatchLuredPokemon"
},
{
"type": "SpinFort"
},
{
"type": "MoveToFort",
"config": {
"lure_attraction": true,
"lure_max_distance": 2000
}
},
{
"type": "FollowSpiral",
"config": {
"diameter": 4,
"step_size": 70
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50,
"cache_recent_forts": true
},
"websocket_server": false,
"walk": 4.16,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"min_ultraball_to_keep": 10,
"logging_color": true,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"catch_throw_parameters": {
"excellent_rate": 0.1,
"great_rate": 0.5,
"nice_rate": 0.3,
"normal_rate": 0.1,
"spin_success_rate" : 0.6
},
"release": {
"any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
"// Example of always releasing Rattata:": {},
"// Rattata": {"always_release": true},
"// Example of keeping 3 stronger (based on CP) Pidgey:": {},
"// Pidgey": {"keep_best_cp": 3},
"// Example of keeping 2 stronger (based on IV) Zubat:": {},
"// Zubat": {"keep_best_iv": 2},
"// Also, it is working with any": {},
"// any": {"keep_best_iv": 3},
"// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
"// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
},
"vips" : {
"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
"any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
"Lapras": {},
"Moltres": {},
"Zapdos": {},
"Articuno": {},
    "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
    "Mewtwo": {},
    "Dragonite": {},
    "Snorlax": {},
    "// Mew evolves to Mewtwo": {},
    "Mew": {},
    "Arcanine": {},
    "Vaporeon": {},
    "Gyarados": {},
    "Exeggutor": {},
    "Muk": {},
    "Weezing": {},
    "Flareon": {}

}

}
`

That is not normal, but it is what I expected. This is why you are having
errors. Please replace the values with valid ones, and try running the bot
again.
Op ma 15 aug. 2016 om 16:24 schreef user121349<EMAIL_ADDRESS>
@Matttter https://github.com/Matttter Here it is. I ran through the set
up using ./setup.sh -i, but when I go into the config file the username,
password, location, and gmapkey all have placeholders. Is that normal?
`{
"auth_service": "google",
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD",
"location": "SOME_LOCATION",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"encrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "SleepSchedule",
"config": {
"enabled": false,
"time": "22:54",
"duration":"7:46”,l
"time_random_offset": "00:24",
"duration_random_offset": "00:43"
}
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "UpdateLiveStats",
"config": {
"enabled": false,
"min_interval": 10,
"stats": ["username", "uptime", "stardust_earned", "xp_earned",
"xp_per_hour", "stops_visited"],
"terminal_log": true,
"terminal_title": true
}
},
{
"type": "TransferPokemon"
},
{
"type": "NicknamePokemon",
"config": {
"enabled": false,
"nickname_template": "{iv_pct}_{iv_ads}"
}
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
"type": "RecycleItems",
"config": {
"min_empty_space": 15,
"item_filter": {
"Pokeball": { "keep" : 100 },
"Potion": { "keep" : 10 },
"Super Potion": { "keep" : 20 },
"Hyper Potion": { "keep" : 30 },
"Revive": { "keep" : 30 },
"Razz Berry": { "keep" : 100 }
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "CatchLuredPokemon"
},
{
"type": "SpinFort"
},
{
"type": "MoveToFort",
"config": {
"lure_attraction": true,
"lure_max_distance": 2000
}
},
{
"type": "FollowSpiral",
"config": {
"diameter": 4,
"step_size": 70
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50,
"cache_recent_forts": true
},
"websocket_server": false,
"walk": 4.16,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"min_ultraball_to_keep": 10,
"logging_color": true,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"catch_throw_parameters": {
"excellent_rate": 0.1,
"great_rate": 0.5,
"nice_rate": 0.3,
"normal_rate": 0.1,
"spin_success_rate" : 0.6
},
"release": {
"any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
"// Example of always releasing Rattata:": {},
"// Rattata": {"always_release": true},
"// Example of keeping 3 stronger (based on CP) Pidgey:": {},
"// Pidgey": {"keep_best_cp": 3},
"// Example of keeping 2 stronger (based on IV) Zubat:": {},
"// Zubat": {"keep_best_iv": 2},
"// Also, it is working with any": {},
"// any": {"keep_best_iv": 3},
"// Example of keeping the 2 strongest (based on CP) and 3 best (based on
IV) Zubat:": {},
"// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
},
"vips" : {
"Any pokemon put here directly force to use Berry & Best Ball to capture,
to secure the capture rate!": {},
"any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
"Lapras": {},
"Moltres": {},
"Zapdos": {},
"Articuno": {},
"// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
"Mewtwo": {},
"Dragonite": {},
"Snorlax": {},
"// Mew evolves to Mewtwo": {},
"Mew": {},
"Arcanine": {},
"Vaporeon": {},
"Gyarados": {},
"Exeggutor": {},
"Muk": {},
"Weezing": {},
"Flareon": {}

}
}
`
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PokemonGoF/PokemonGo-Bot/issues/3994#issuecomment-239814469,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMhqQ9JrT8MY-Yq7JA9bXAPhxFvO8ZeBks5qgHYkgaJpZM4JkW5W
.

@Matttter I did that but still get a lot of errors and it won't run.
./configs/config.json:3:16: Error: Can not decode value starting with character u'\u201c'    |  At line 3, column 16, offset 48 ./configs/config.json:3:29: Info: Recovering parsing after character u','    |  At line 3, column 29, offset 61 ./configs/config.json:4:16: Error: Can not decode value starting with character u'\u201c'    |  At line 4, column 16, offset 79 ./configs/config.json:4:26: Info: Recovering parsing after character u','    |  At line 4, column 26, offset 89 ./configs/config.json:17:29: Error: Line terminator characters must be escaped inside string literals: 'U+000A'    |  At line 17, column 29, offset 427    |  String started at line 17, column 21, offset 419 ./configs/config.json:18:11: Warning: JSON does not allow identifiers to be used as strings: u'time_random_offset'    |  At line 18, column 11, offset 439 ./configs/config.json:18:11: Error: Values must be separated by a comma    |  At line 18, column 11, offset 439    |  Object started at line 14, column 18, offset 341 ./configs/config.json:18:11: Error: Missing value for object property, expected ":"    |  At line 18, column 11, offset 439    |  Object started at line 14, column 18, offset 341 ./configs/config.json:18:30: Error: Can not decode value starting with character u':'    |  At line 18, column 30, offset 458 ./configs/config.json:18:32: Info: Recovering parsing after character u'"'    |  At line 18, column 32, offset 460 ./configs/config.json:18:32: Error: Values must be separated by a comma    |  At line 18, column 32, offset 460    |  Object started at line 14, column 18, offset 341 ./configs/config.json:18:32: Error: Missing value for object property, expected ":"    |  At line 18, column 32, offset 460    |  Object started at line 14, column 18, offset 341 ./configs/config.json:19:34: Error: Can not decode value starting with character u':'    |  At line 19, column 34, offset 503 ./configs/config.json:19:36: Info: Recovering parsing after character u'"'    |  At line 19, column 36, offset 505 ./configs/config.json:19:36: Info: Recovering parsing after character u'"'    |  At line 19, column 36, offset 505 ./configs/config.json:19:36: Error: Values must be separated by a comma    |  At line 19, column 36, offset 505    |  Object started at line 14, column 18, offset 341 ./configs/config.json:19:36: Error: Missing value for object property, expected ":"    |  At line 19, column 36, offset 505    |  Object started at line 14, column 18, offset 341 ./configs/config.json:21:6: Error: Can not decode value starting with character u'}'    |  At line 21, column 6, offset 529 ./configs/config.json:21:7: Info: Recovering parsing after character u','    |  At line 21, column 7, offset 530 ./configs/config.json:22:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 22, column 6, offset 538    |  Object started at line 14, column 18, offset 341 ./configs/config.json:22:6: Error: Missing value for object property, expected ":"    |  At line 22, column 6, offset 538    |  Object started at line 14, column 18, offset 341 ./configs/config.json:31:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 31, column 6, offset 709    |  Object started at line 14, column 18, offset 341 ./configs/config.json:31:6: Error: Missing value for object property, expected ":"    |  At line 31, column 6, offset 709    |  Object started at line 14, column 18, offset 341 ./configs/config.json:44:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 44, column 6, offset 1072    |  Object started at line 14, column 18, offset 341 ./configs/config.json:44:6: Error: Missing value for object property, expected ":"    |  At line 44, column 6, offset 1072    |  Object started at line 14, column 18, offset 341 ./configs/config.json:63:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 63, column 6, offset 1550    |  Object started at line 14, column 18, offset 341 ./configs/config.json:63:6: Error: Missing value for object property, expected ":"    |  At line 63, column 6, offset 1550    |  Object started at line 14, column 18, offset 341 ./configs/config.json:80:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 80, column 6, offset 2039    |  Object started at line 14, column 18, offset 341 ./configs/config.json:80:6: Error: Missing value for object property, expected ":"    |  At line 80, column 6, offset 2039    |  Object started at line 14, column 18, offset 341 ./configs/config.json:86:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 86, column 6, offset 2136    |  Object started at line 14, column 18, offset 341 ./configs/config.json:86:6: Error: Missing value for object property, expected ":"    |  At line 86, column 6, offset 2136    |  Object started at line 14, column 18, offset 341 ./configs/config.json:100:4: Error: Expected a '}' but saw ']'    |  At line 100, column 4, offset 2415    |  Object started at line 14, column 18, offset 341 ./configs/config.json:100:4: Error: Expected a '}' but saw ']'    |  At line 100, column 4, offset 2415    |  Object started at line 12, column 6, offset 288 ./configs/config.json:144:6: Warning: Object contains duplicate key: u'// Zubat'    |  At line 144, column 6, offset 3918    |  Object started at line 133, column 15, offset 3342 ./configs/config.json: has errors 2016-08-15 12:41:22,251 [       cli] [CRITICAL] Error with configuration file Mon Aug 15 12:41:22 EDT 2016 Pokebot  Stopped. Press any button or wait 20 seconds to continue. 2016-08-15 12:41:42,936 [       cli] [INFO] PokemonGO Bot v1.0 ./configs/config.json:3:16: Error: Can not decode value starting with character u'\u201c'    |  At line 3, column 16, offset 48 ./configs/config.json:3:29: Info: Recovering parsing after character u','    |  At line 3, column 29, offset 61 ./configs/config.json:4:16: Error: Can not decode value starting with character u'\u201c'    |  At line 4, column 16, offset 79 ./configs/config.json:4:26: Info: Recovering parsing after character u','    |  At line 4, column 26, offset 89 ./configs/config.json:17:29: Error: Line terminator characters must be escaped inside string literals: 'U+000A'    |  At line 17, column 29, offset 427    |  String started at line 17, column 21, offset 419 ./configs/config.json:18:11: Warning: JSON does not allow identifiers to be used as strings: u'time_random_offset'    |  At line 18, column 11, offset 439 ./configs/config.json:18:11: Error: Values must be separated by a comma    |  At line 18, column 11, offset 439    |  Object started at line 14, column 18, offset 341 ./configs/config.json:18:11: Error: Missing value for object property, expected ":"    |  At line 18, column 11, offset 439    |  Object started at line 14, column 18, offset 341 ./configs/config.json:18:30: Error: Can not decode value starting with character u':'    |  At line 18, column 30, offset 458 ./configs/config.json:18:32: Info: Recovering parsing after character u'"'    |  At line 18, column 32, offset 460 ./configs/config.json:18:32: Error: Values must be separated by a comma    |  At line 18, column 32, offset 460    |  Object started at line 14, column 18, offset 341 ./configs/config.json:18:32: Error: Missing value for object property, expected ":"    |  At line 18, column 32, offset 460    |  Object started at line 14, column 18, offset 341 ./configs/config.json:19:34: Error: Can not decode value starting with character u':'    |  At line 19, column 34, offset 503 ./configs/config.json:19:36: Info: Recovering parsing after character u'"'    |  At line 19, column 36, offset 505 ./configs/config.json:19:36: Info: Recovering parsing after character u'"'    |  At line 19, column 36, offset 505 ./configs/config.json:19:36: Error: Values must be separated by a comma    |  At line 19, column 36, offset 505    |  Object started at line 14, column 18, offset 341 ./configs/config.json:19:36: Error: Missing value for object property, expected ":"    |  At line 19, column 36, offset 505    |  Object started at line 14, column 18, offset 341 ./configs/config.json:21:6: Error: Can not decode value starting with character u'}'    |  At line 21, column 6, offset 529 ./configs/config.json:21:7: Info: Recovering parsing after character u','    |  At line 21, column 7, offset 530 ./configs/config.json:22:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 22, column 6, offset 538    |  Object started at line 14, column 18, offset 341 ./configs/config.json:22:6: Error: Missing value for object property, expected ":"    |  At line 22, column 6, offset 538    |  Object started at line 14, column 18, offset 341 ./configs/config.json:31:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 31, column 6, offset 709    |  Object started at line 14, column 18, offset 341 ./configs/config.json:31:6: Error: Missing value for object property, expected ":"    |  At line 31, column 6, offset 709    |  Object started at line 14, column 18, offset 341 ./configs/config.json:44:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 44, column 6, offset 1072    |  Object started at line 14, column 18, offset 341 ./configs/config.json:44:6: Error: Missing value for object property, expected ":"    |  At line 44, column 6, offset 1072    |  Object started at line 14, column 18, offset 341 ./configs/config.json:63:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 63, column 6, offset 1550    |  Object started at line 14, column 18, offset 341 ./configs/config.json:63:6: Error: Missing value for object property, expected ":"    |  At line 63, column 6, offset 1550    |  Object started at line 14, column 18, offset 341 ./configs/config.json:80:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 80, column 6, offset 2039    |  Object started at line 14, column 18, offset 341 ./configs/config.json:80:6: Error: Missing value for object property, expected ":"    |  At line 80, column 6, offset 2039    |  Object started at line 14, column 18, offset 341 ./configs/config.json:86:6: Error: Object properties (keys) must be string literals, numbers, or identifiers    |  At line 86, column 6, offset 2136    |  Object started at line 14, column 18, offset 341 ./configs/config.json:86:6: Error: Missing value for object property, expected ":"    |  At line 86, column 6, offset 2136    |  Object started at line 14, column 18, offset 341 ./configs/config.json:100:4: Error: Expected a '}' but saw ']'    |  At line 100, column 4, offset 2415    |  Object started at line 14, column 18, offset 341 ./configs/config.json:100:4: Error: Expected a '}' but saw ']'    |  At line 100, column 4, offset 2415    |  Object started at line 12, column 6, offset 288 ./configs/config.json:144:6: Warning: Object contains duplicate key: u'// Zubat'    |  At line 144, column 6, offset 3918    |  Object started at line 133, column 15, offset 3342 ./configs/config.json: has errors 2016-08-15 12:41:42,976 [       cli] [CRITICAL] Error with configuration file Mon Aug 15 12:41:43 EDT 2016 Pokebot  Stopped. Press any button or wait 20 seconds to continue.

Just follow every error, look at the lines. They explain what you did
wrong. Proofread very carefully every line of it to assure it's proper
JSON.
On Mon, Aug 15, 2016, 18:49 user121349<EMAIL_ADDRESS>wrote:

@Matttter https://github.com/Matttter I did that but still get a lot of
errors and it won't run.
./configs/config.json:3:16: Error: Can not decode value starting with
character u'\u201c'
| At line 3, column 16, offset 48
./configs/config.json:3:29: Info: Recovering parsing after character u','
| At line 3, column 29, offset 61
./configs/config.json:4:16: Error: Can not decode value starting with
character u'\u201c'
| At line 4, column 16, offset 79
./configs/config.json:4:26: Info: Recovering parsing after character u','
| At line 4, column 26, offset 89
./configs/config.json:17:29: Error: Line terminator characters must be
escaped inside string literals: 'U+000A'
| At line 17, column 29, offset 427
| String started at line 17, column 21, offset 419
./configs/config.json:18:11: Warning: JSON does not allow identifiers to
be used as strings: u'time_random_offset'
| At line 18, column 11, offset 439
./configs/config.json:18:11: Error: Values must be separated by a comma
| At line 18, column 11, offset 439
| Object started at line 14, column 18, offset 341
./configs/config.json:18:11: Error: Missing value for object property,
expected ":"
| At line 18, column 11, offset 439
| Object started at line 14, column 18, offset 341
./configs/config.json:18:30: Error: Can not decode value starting with
character u':'
| At line 18, column 30, offset 458
./configs/config.json:18:32: Info: Recovering parsing after character u'"'
| At line 18, column 32, offset 460
./configs/config.json:18:32: Error: Values must be separated by a comma
| At line 18, column 32, offset 460
| Object started at line 14, column 18, offset 341
./configs/config.json:18:32: Error: Missing value for object property,
expected ":"
| At line 18, column 32, offset 460
| Object started at line 14, column 18, offset 341
./configs/config.json:19:34: Error: Can not decode value starting with
character u':'
| At line 19, column 34, offset 503
./configs/config.json:19:36: Info: Recovering parsing after character u'"'
| At line 19, column 36, offset 505
./configs/config.json:19:36: Info: Recovering parsing after character u'"'
| At line 19, column 36, offset 505
./configs/config.json:19:36: Error: Values must be separated by a comma
| At line 19, column 36, offset 505
| Object started at line 14, column 18, offset 341
./configs/config.json:19:36: Error: Missing value for object property,
expected ":"
| At line 19, column 36, offset 505
| Object started at line 14, column 18, offset 341
./configs/config.json:21:6: Error: Can not decode value starting with
character u'}'
| At line 21, column 6, offset 529
./configs/config.json:21:7: Info: Recovering parsing after character u','
| At line 21, column 7, offset 530
./configs/config.json:22:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 22, column 6, offset 538
| Object started at line 14, column 18, offset 341
./configs/config.json:22:6: Error: Missing value for object property,
expected ":"
| At line 22, column 6, offset 538
| Object started at line 14, column 18, offset 341
./configs/config.json:31:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 31, column 6, offset 709
| Object started at line 14, column 18, offset 341
./configs/config.json:31:6: Error: Missing value for object property,
expected ":"
| At line 31, column 6, offset 709
| Object started at line 14, column 18, offset 341
./configs/config.json:44:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 44, column 6, offset 1072
| Object started at line 14, column 18, offset 341
./configs/config.json:44:6: Error: Missing value for object property,
expected ":"
| At line 44, column 6, offset 1072
| Object started at line 14, column 18, offset 341
./configs/config.json:63:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 63, column 6, offset 1550
| Object started at line 14, column 18, offset 341
./configs/config.json:63:6: Error: Missing value for object property,
expected ":"
| At line 63, column 6, offset 1550
| Object started at line 14, column 18, offset 341
./configs/config.json:80:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 80, column 6, offset 2039
| Object started at line 14, column 18, offset 341
./configs/config.json:80:6: Error: Missing value for object property,
expected ":"
| At line 80, column 6, offset 2039
| Object started at line 14, column 18, offset 341
./configs/config.json:86:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 86, column 6, offset 2136
| Object started at line 14, column 18, offset 341
./configs/config.json:86:6: Error: Missing value for object property,
expected ":"
| At line 86, column 6, offset 2136
| Object started at line 14, column 18, offset 341
./configs/config.json:100:4: Error: Expected a '}' but saw ']'
| At line 100, column 4, offset 2415
| Object started at line 14, column 18, offset 341
./configs/config.json:100:4: Error: Expected a '}' but saw ']'
| At line 100, column 4, offset 2415
| Object started at line 12, column 6, offset 288
./configs/config.json:144:6: Warning: Object contains duplicate key: u'//
Zubat'
| At line 144, column 6, offset 3918
| Object started at line 133, column 15, offset 3342
./configs/config.json: has errors
2016-08-15 12:41:22,251 [ cli] [CRITICAL] Error with configuration file
Mon Aug 15 12:41:22 EDT 2016 Pokebot Stopped.
Press any button or wait 20 seconds to continue.
2016-08-15 12:41:42,936 [ cli] [INFO] PokemonGO Bot v1.0
./configs/config.json:3:16: Error: Can not decode value starting with
character u'\u201c'
| At line 3, column 16, offset 48
./configs/config.json:3:29: Info: Recovering parsing after character u','
| At line 3, column 29, offset 61
./configs/config.json:4:16: Error: Can not decode value starting with
character u'\u201c'
| At line 4, column 16, offset 79
./configs/config.json:4:26: Info: Recovering parsing after character u','
| At line 4, column 26, offset 89
./configs/config.json:17:29: Error: Line terminator characters must be
escaped inside string literals: 'U+000A'
| At line 17, column 29, offset 427
| String started at line 17, column 21, offset 419
./configs/config.json:18:11: Warning: JSON does not allow identifiers to
be used as strings: u'time_random_offset'
| At line 18, column 11, offset 439
./configs/config.json:18:11: Error: Values must be separated by a comma
| At line 18, column 11, offset 439
| Object started at line 14, column 18, offset 341
./configs/config.json:18:11: Error: Missing value for object property,
expected ":"
| At line 18, column 11, offset 439
| Object started at line 14, column 18, offset 341
./configs/config.json:18:30: Error: Can not decode value starting with
character u':'
| At line 18, column 30, offset 458
./configs/config.json:18:32: Info: Recovering parsing after character u'"'
| At line 18, column 32, offset 460
./configs/config.json:18:32: Error: Values must be separated by a comma
| At line 18, column 32, offset 460
| Object started at line 14, column 18, offset 341
./configs/config.json:18:32: Error: Missing value for object property,
expected ":"
| At line 18, column 32, offset 460
| Object started at line 14, column 18, offset 341
./configs/config.json:19:34: Error: Can not decode value starting with
character u':'
| At line 19, column 34, offset 503
./configs/config.json:19:36: Info: Recovering parsing after character u'"'
| At line 19, column 36, offset 505
./configs/config.json:19:36: Info: Recovering parsing after character u'"'
| At line 19, column 36, offset 505
./configs/config.json:19:36: Error: Values must be separated by a comma
| At line 19, column 36, offset 505
| Object started at line 14, column 18, offset 341
./configs/config.json:19:36: Error: Missing value for object property,
expected ":"
| At line 19, column 36, offset 505
| Object started at line 14, column 18, offset 341
./configs/config.json:21:6: Error: Can not decode value starting with
character u'}'
| At line 21, column 6, offset 529
./configs/config.json:21:7: Info: Recovering parsing after character u','
| At line 21, column 7, offset 530
./configs/config.json:22:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 22, column 6, offset 538
| Object started at line 14, column 18, offset 341
./configs/config.json:22:6: Error: Missing value for object property,
expected ":"
| At line 22, column 6, offset 538
| Object started at line 14, column 18, offset 341
./configs/config.json:31:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 31, column 6, offset 709
| Object started at line 14, column 18, offset 341
./configs/config.json:31:6: Error: Missing value for object property,
expected ":"
| At line 31, column 6, offset 709
| Object started at line 14, column 18, offset 341
./configs/config.json:44:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 44, column 6, offset 1072
| Object started at line 14, column 18, offset 341
./configs/config.json:44:6: Error: Missing value for object property,
expected ":"
| At line 44, column 6, offset 1072
| Object started at line 14, column 18, offset 341
./configs/config.json:63:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 63, column 6, offset 1550
| Object started at line 14, column 18, offset 341
./configs/config.json:63:6: Error: Missing value for object property,
expected ":"
| At line 63, column 6, offset 1550
| Object started at line 14, column 18, offset 341
./configs/config.json:80:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 80, column 6, offset 2039
| Object started at line 14, column 18, offset 341
./configs/config.json:80:6: Error: Missing value for object property,
expected ":"
| At line 80, column 6, offset 2039
| Object started at line 14, column 18, offset 341
./configs/config.json:86:6: Error: Object properties (keys) must be string
literals, numbers, or identifiers
| At line 86, column 6, offset 2136
| Object started at line 14, column 18, offset 341
./configs/config.json:86:6: Error: Missing value for object property,
expected ":"
| At line 86, column 6, offset 2136
| Object started at line 14, column 18, offset 341
./configs/config.json:100:4: Error: Expected a '}' but saw ']'
| At line 100, column 4, offset 2415
| Object started at line 14, column 18, offset 341
./configs/config.json:100:4: Error: Expected a '}' but saw ']'
| At line 100, column 4, offset 2415
| Object started at line 12, column 6, offset 288
./configs/config.json:144:6: Warning: Object contains duplicate key: u'//
Zubat'
| At line 144, column 6, offset 3918
| Object started at line 133, column 15, offset 3342
./configs/config.json: has errors
2016-08-15 12:41:42,976 [ cli] [CRITICAL] Error with configuration file
Mon Aug 15 12:41:43 EDT 2016 Pokebot Stopped.
Press any button or wait 20 seconds to continue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PokemonGoF/PokemonGo-Bot/issues/3994#issuecomment-239856702,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMhqQ0jCJnsGTh-L7N3iFT1OkG3NWzGgks5qgJgxgaJpZM4JkW5W
.

Use json lint to validate the file

Edit the placeholders with the relevant information for your account.
You need to provide your account info, a location, and so on

test code


Action proposal: rollback

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

I read on the docs that I needed to create an issue before making a pull request for an action. So here it is. And here is the scenario:
You pushed a build to production only to realize there is a serious crash and you need to submit a new build as soon as possible. This action allows you specify the commit hash and new build number that you need to submit a new build from old code. It also has an option to send a lane name that will be executed once the rollback is complete.
I have it written already, and has helped me bring my rollback speed from 12 minutes, dealing with manually typing git commands, changing build numbers and running specific lanes,  down to 2 minutes with a single command.
Would this be something worth making a pull request?
Thanks!

Hey that sounds awesome, this is a great candidate for a fastlane plugin instead of an action 👍  Let me know if you need any help get up and running 🚀

Oh, ok. By reading at the docs it sounded like an action more than a plugin.
Taken from here: https://docs.fastlane.tools/plugins/create-plugin/
Actions:

Generally usable for a big majority of developers (e.g. basic interactions with git). This action is mainly that.
Solve pain points for mobile app developers (iOS and Android). I just though that removing the manual process of having to roll back to an old build during an emergency would be "pain solving" haha. I actually had the need (unfortunately) on Wednesday. And I initially came here trying to find something that did this. I couldn't find anything so we had to do it manually and it took a teammate hours to do it. After the emergency passed, I tried it myself and it took me just 12 minutes (I've been in the company longer, so I know some shortcuts that he didn't, but I wasn't there when they needed it). Anyway, long story short, I know have this action that will help my teammates here in the future in case they need it and thought someone else might benefit from it as well.

Plugins:
This is useful if you maintain your own library or web service, and want to make sure the fastlane plugin is always up to date. This is not for a web service nor library, that's why I thought it was good for an action...
Any way, here is the action code in case you want to give it a second look and change your mind.
module Fastlane
  module Actions
    class RollbackAction < Action
      def self.run(options)
        output_directory = options[:output_directory]
        git_url = options[:git_url]
        git_commit_hash = options[:git_commit_hash]
        new_build_num = options[:new_build_num]
        lane_name = options[:lane_name]

        UI.message("Cloning #{git_url}.")

        Actions.sh("git clone #{git_url} #{output_directory}")
        UI.success("Successfully cloned #{git_url}.")

        UI.message("Checking out specific commit #{git_commit_hash}.")

        Actions.sh("cd #{output_directory} && git reset --hard #{git_commit_hash}")
        UI.success("Successfully checked out #{git_commit_hash}.")

        UI.message("Updating build number to #{new_build_num}.")
        plist_files = Dir.glob("#{output_directory}/**/*Info*.plist")
        for plist in plist_files do
          Actions::UpdateInfoPlistAction.run(
            plist_path: plist,
            block: lambda { |plist|
              plist["CFBundleVersion"] = "#{new_build_num}"
            }
          )
        end

        if lane_name
        UI.message("Running lane #{lane_name}.")
        Actions.sh("cd #{output_directory} && bundle exec fastlane #{lane_name}")
        end
        UI.success("")
        UI.success("🎉 Rollback complete 🎉")
        if !lane_name
        UI.success("Change directory into '#{output_directory}' and run 'bundle exec fastlane [lane_name]' to get the desired build")
        end
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Rollback your code to a previous commit"
      end

      def self.details
        "You pushed a build to production only to realize there is a serious crash and you need to submit a new build as soon as possible. This action allows you specify the commit hash and new build number that you need to submit a new build from old code."
      end

      def self.available_options
        [
          FastlaneCore::ConfigItem.new(key: :output_directory,
            env_name: "OUTPUT_DIRECTORY",
            description: "Path for the rollback workspace",
            default_value: "rollback",
            verify_block: proc do |value|
            UI.user_error!("No output directory given, pass using `output_directory: 'directory'`") unless value and !value.empty? end
            ),
          FastlaneCore::ConfigItem.new(key: :git_url,
            env_name: "GIT_URL",
            description: "Repository clone URL",
            verify_block: proc do |value|
            UI.user_error!("No clone URL given, pass using `git_url: 'url'`") unless value and !value.empty? end
            ),
          FastlaneCore::ConfigItem.new(key: :git_commit_hash,
            env_name: "GIT_COMMIT_HASH",
            description: "Commit hash to roll back to",
            verify_block: proc do |value|
            UI.user_error!("No commit hash given, pass using `git_commit_hash: 'hash'`") unless value and !value.empty? end
            ),
          FastlaneCore::ConfigItem.new(key: :new_build_num,
            env_name: "NEW_BUILD_NUM",
            description: "New build number to use after the rollback",
            verify_block: proc do |value|
            UI.user_error!("No build number given, pass using `new_build_num: 'number'`") unless value and !value.empty? end
            ),
          FastlaneCore::ConfigItem.new(key: :lane_name,
            env_name: "LANE_NAME",
            description: "Lane name number to run after the rollback",
            optional:true
            )
        ]
      end

      def self.authors
        ["jlubeck"]
      end

      def self.is_supported?(platform)
        platform == :ios
      end
    end
  end
end

Thanks!!

Hey @jlubeck, yeah, but since this use-case isn't too common and it's pretty complex, I think it would better fit a plugin 👍

If many people use it, it can always become an official action 👍

Sounds good, I'll see how to make it into a Plugin then. Thanks!

Thanks 👍


CSS icon image files will not load in workbench.aspx

I am testing my webpart on workbench.aspx  in Chrome allowing for mixed mode but the icons do not show up because there are no requests being made for the image files:
Example of css:
.k-loading-image {
background-image: url('Office365/loading-image.gif');
}

However, icons show up and image requests are made when using Workbench.html

If you look at the network trace in Chrome, are you seeing any 404's?  If so, what does the full URL to them look like?

Yes there are 404's.

Any news on this?

@iclanton I believe this could be a WebPack public path issue, based on the URL above. This is an area we're actively looking to improve.. Can you ensure you have
require('set-webpack-public-path!');

At the top of your WebPart.ts file?

Thanks @nickpape-msft that fixed the problem.


GitHub support

Would be nice to be able to be able to communicate with GitHub directly from the build script. For example to create a release and to upload release assets.

[ ] Create release.
[ ] Upload release asset.

This obviously need some more thought.

I imagine this would use Octokit.net, yes?

@ChrisMissal For creating and uploading releases, GitHub's REST API would suffice to avoid taking a dependency. I know that I'm a little bit reluctant to include third party dependencies in Cake, but it's a slippery slope :)
Here is an example of how this could be done: https://github.com/hadouken/hadouken/blob/develop/win32/build.cake#L280

My intention was to use octokit. This might be the point we consider cake contrib for functionality that takes a third party dependency, but is maintained by cake.

For sure, I was thinking it would work like https://github.com/WCOMAB/Cake.Slack for example. If Cake could just expose Octokit, then script builds could do whatever they wanted.

@RichiCoder1 @ChrisMissal Yes. I like the idea of maintaining official plugins seperate from the Cake package itself.
I'm not opposed to including third party libraries. libgit2sharp for example is probably something we need to take a dependency on later for Git support.

@ChrisMissal I agree. Exposing OctoKit would probably be better than writing Wrappers around everything (if I understand you correctly).
This could be done with the #addin pre-processor which would download Octokit from NuGet and add a reference to it in the project.
Would be nice though with support for creating releases and uploading artifacts out of the box.

I was just thinking...
Would it make sense to encapsulate GitReleaseManager to do this work, rather than re-invent the wheel?  We have already created, using Octokit, the ability to create a release, upload assets, close milestones, publish a release, etc.
GitReleaseManager is a standalone exe, which could easily be created as an alias in Cake.
https://gitreleasemanager.readme.io/docs/create
Just a thought :smile_cat:

That could work if we want it built in :)

Regardless GitReleaseManager could be an excellent addin, Cake addins is a great way to extend the DSL, also makes it easy to test/release out of band and super easy to move into Cake later.

Since GitReleaseManager Aliases have just been pulled in, I think we can go ahead and close this issue?  Thoughts?

I actually want wrappers around GitHubs API:s as well in the future so I think we could leave this open for now.

No worries, just thought I would check.

Great that you did :)
On Oct 17, 2015 14:17, "Gary Ewan Park"<EMAIL_ADDRESS>wrote:

No worries, just thought I would check.
—
Reply to this email directly or view it on GitHub
https://github.com/cake-build/cake/issues/73#issuecomment-148913008.

I wanted the functionality to create GitHub pull requests/issues, so have thrown together an add-in to wrap Octokit and provide that. It's not pretty yet, but hopefully will become sharable at some point!
What I'm not sure about, is what other parts of the API would be worth including. The release functionality seems to be taken care of by the GitReleaseManager add-in, and I'm not sure of the value of much else in the API, for a build script.
Did you have any particular ideas of what else you thought should be included @patriksvensson? Anyone else?

There's now a Cake.GitHub addin available using OctoKit and which can be extended with additional features if required. There exists also a Cake.OctoDeploy addin providing some addins for working with GitHub releases.
Closing this since requests for additional features should be done to the addin repos.


test(vpc): fix up dual stack integ test to use assertions.

Fix up dual stack integ test to use assertions.

These changes were implemented. This PR is no longer necessary.


Bugfix/print whole response

As discussed bilaterally, this can be achieved via a custom filter option.


Vpp rotation and fix color balance bug

1, add function of YUV image clockwise rotation;
2, fix the color-balance bug of only supporting to set one of those attributes: HUE, SATURATION, BRIGHTNESS, CONTRAST. Now it supports to set several of those attributes.

please help to review, thanks.

hi @xuguangxin , updated, this pull-request only for rotation.
please help to review again, thanks.

hi @xuguangxin, no problem;
updated, getParameters() has been removed, please help to review again, thanks.

thanks dongping


non-interactive:  pass mnemonic words via ENV VAR and run unlocked

for example
export OCEAN_MNEMONIC=<words>
oceand

Should automatically load the mnemonic in-memory and keep the wallet in an unlocked state, useful in dockerized deployment environment

I think an env var like OCEAN_PASSWORD=<password> would be better as it doesn't disclose the mnemonic. I mean, at least the mnemonic is not evident in config.
Also, the ocean wallet is meant to be always protected by a password. The change proposed initially would require a refactor of the wallet domain.

the non-interactivity is also to be refer to the entire lifecycle on a clean host, you can automatize the running of the daemon also the first time, without requiring to use the CLI as now for "creation/restore" using mnemonic.
Can't simply be an extension check on "top" that choose a standard password that exports in ENV for the auto-unlock on startup? So this issue can be a follow up of "add auto-unlock mode"

this issue is not prioritary, but useful in HA deployment scenario (where you need to spinup many replicas of the same wallet in a programmatic way and you can't mount the same volume in the same docker host)


[flags] remove unused flags without ISO

Removed unused flags without ISO code:
"ABKHAZIA": "Abkhazia",
"BASQUE_COUNTRY": "Basque Country",
"BRITISH_ANTARCTIC_TERRITORY": "British Antarctic Territory",
"CANARY_ISLANDS": "Canary Islands",
"COMMON_WEALTH": "Common Wealth",
"ENGLAND": "England",
"MARS": "Mars",
"NAGORNO_KARABAKH": "Nagorno Karabakh",
"NATO": "NATO",
"NORTHERN_CYPRUS": "Northern Cyprus",
"SCOTLAND": "Scotland",
"SOMALILAND": "Somaliland",
"SOUTH_OSSETIA": "South Ossetia",
"UNITED_NATIONS": "United Nations",
"WALES": "Wales"

European Union flag is used in the products.

I have manually merged this changed into https://github.com/semrush/intergalactic/pull/676


[MINOR] Fix typos in comments and replace an explicit type with <>

What changes were proposed in this pull request?
This PR fixed typos in comments and replace the explicit type with '<>' for Java 8+.
How was this patch tested?
Manually tested.

Can one of the admins verify this patch?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/13668/
Test PASSed.

Test build #108577 has started for PR 25338 at commit 4b0f608.

Test build #108577 has finished for PR 25338 at commit 4b0f608.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/108577/
Test PASSed.

Can one of the admins verify this patch?

Test build #108610 has started for PR 25338 at commit 4b0f608.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/13695/
Test PASSed.

Test build #108610 has finished for PR 25338 at commit 4b0f608.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/108610/
Test FAILed.

Can one of the admins verify this patch?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/13954/
Test PASSed.

Test build #108880 has started for PR 25338 at commit 4b0f608.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/13959/
Test PASSed.

Test build #108885 has started for PR 25338 at commit 7ecf9c1.

I'm OK with cleanup like this for 3.0. Are they any more instances of redundant generic types? We can get them all here.

I have added more redundant generic types.

Test build #108880 has finished for PR 25338 at commit 4b0f608.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/108880/
Test PASSed.

Test build #108885 has finished for PR 25338 at commit 7ecf9c1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/108885/
Test PASSed.

added all redundant generic types here.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/13964/
Test PASSed.

Test build #108890 has started for PR 25338 at commit df9343a.

Test build #108890 has finished for PR 25338 at commit df9343a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/108890/
Test PASSed.

@srowen Could you please review this please?

Merged to master

@srowen Thank you.


Proxmox Packer jammy.pkr.hcl error

I tried switching the source to QEMU but no go...
I have updated the credentials file as mentioned in video and even moved it into the ubuntu-server-jammy directory just incase that was an issue.
OUTPUT HERE:
serveradmin@ansible:~/boilerplates/packer/proxmox/ubuntu-server-jammy$ sudo packer build ubuntu-server-jammy.pkr.hcl
Error: Unset variable "proxmox_api_url"
A used variable must be set or have a default value; see
https://packer.io/docs/templates/hcl_templates/syntax for details.
Error: Unset variable "proxmox_api_token_id"
A used variable must be set or have a default value; see
https://packer.io/docs/templates/hcl_templates/syntax for details.
Error: Unset variable "proxmox_api_token_secret"
A used variable must be set or have a default value; see
https://packer.io/docs/templates/hcl_templates/syntax for details.
Error: Unknown source type proxmox
on ubuntu-server-jammy.pkr.hcl line 108:
(source code not available)
known builders: [amazon-ebsvolume amazon-ebs vagrant amazon-chroot azure-dtl
docker qemu azure-arm amazon-ebssurrogate file virtualbox-vm amazon-instance
googlecompute vmware-vmx null virtualbox-iso virtualbox-ovf vmware-iso
vsphere-iso azure-chroot vsphere-clone]
THANK YOU for your help and cool video!

never mind solved it.
basically, swap out qcow2 with raw and proxmox to proxmox-iso
AND here is the command for others.
packer build -var-file=credentials.pkr.hcl ubuntu-server-jammy.pkr.hcl
Ubuntu Server jammy
---
Packer Template to create an Ubuntu Server (jammy) on Proxmox
Variable Definitions
variable "proxmox_api_url" {
type = string
}
variable "proxmox_api_token_id" {
type = string
}
variable "proxmox_api_token_secret" {
type = string
sensitive = true
}
Resource Definiation for the VM Template
source "proxmox-iso" "ubuntu-server-jammy" {
# Proxmox Connection Settings
proxmox_url = "${var.proxmox_api_url}"
username = "${var.proxmox_api_token_id}"
token = "${var.proxmox_api_token_secret}"
# (Optional) Skip TLS Verification
insecure_skip_tls_verify = true

# VM General Settings
node = "cyber"
vm_id = "400"
vm_name = "ubuntu-server-jammy"
template_description = "Ubuntu Server jammy Image"

# VM OS Settings
# (Option 1) Local ISO File
iso_file = "local:iso/ubuntu-22.04.1-live-server-amd64.iso"
# - or -
# (Option 2) Download ISO
#iso_url = "https://releases.ubuntu.com/22.04/ubuntu-22.04-live-server-amd64.iso"
#iso_checksum = "84aeaf7823c8c61baa0ae862d0a06b03409394800000b3235854a6b38eb4856f"
iso_storage_pool = "local"
unmount_iso = true

# VM System Settings
qemu_agent = true

# VM Hard Disk Settings
scsi_controller = "virtio-scsi-pci"

disks {
    disk_size = "20G"
    format = "raw"
    storage_pool = "local-lvm"
    storage_pool_type = "lvm"
    type = "virtio"
}

# VM CPU Settings
cores = "1"

# VM Memory Settings
memory = "2048"

# VM Network Settings
network_adapters {
    model = "virtio"
    bridge = "vmbr0"
    firewall = "false"
}

# VM Cloud-Init Settings
cloud_init = true
cloud_init_storage_pool = "local-lvm"

# PACKER Boot Commands
boot_command = [
    "<esc><wait>",
    "e<wait>",
    "<down><down><down><end>",
    "<bs><bs><bs><bs><wait>",
    "autoinstall ds=nocloud-net\\;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ ---<wait>",
    "<f10><wait>"
]
boot = "c"
boot_wait = "5s"

# PACKER Autoinstall Settings
http_directory = "http"
# (Optional) Bind IP Address and Port
# http_bind_address = "<IP_ADDRESS>"
# http_port_min = 8802
# http_port_max = 8802

ssh_username = "serveradmin"

# (Option 1) Add your Password here
# ssh_password = "your-password"
# - or -
# (Option 2) Add your Private SSH KEY file here
ssh_private_key_file = "~/.ssh/ansiblehost"

# Raise the timeout, when installation takes longer
ssh_timeout = "20m"

}
Build Definition to create the VM Template
build {
name = "ubuntu-server-jammy"
sources = ["proxmox-iso.ubuntu-server-jammy"]

# Provisioning the VM Template for Cloud-Init Integration in Proxmox #1
provisioner "shell" {
    inline = [
        "while [ ! -f /var/lib/cloud/instance/boot-finished ]; do echo 'Waiting for cloud-init...'; sleep 1; done",
        "sudo rm /etc/ssh/ssh_host_*",
        "sudo truncate -s 0 /etc/machine-id",
        "sudo apt -y autoremove --purge",
        "sudo apt -y clean",
        "sudo apt -y autoclean",
        "sudo cloud-init clean",
        "sudo rm -f /etc/cloud/cloud.cfg.d/subiquity-disable-cloudinit-networking.cfg",
        "sudo rm -f /etc/netplan/00-installer-config.yaml",
        "sudo sync"
    ]
}

# Provisioning the VM Template for Cloud-Init Integration in Proxmox #2
provisioner "file" {
    source = "files/99-pve.cfg"
    destination = "/tmp/99-pve.cfg"
}

# Provisioning the VM Template for Cloud-Init Integration in Proxmox #3
provisioner "shell" {
    inline = [ "sudo cp /tmp/99-pve.cfg /etc/cloud/cloud.cfg.d/99-pve.cfg" ]
}

# Add additional provisioning scripts here
# ...

}


[bug] llama-index agent missing output

llama-index agent traces appear to be missing output

repro:
run the example in python/examples/llama-index/ using docker compose up --build and enter a message into the chat interface

Closing as this is a duplicate issue.

Duplicate of #154


How to start a docker based dogecoin full node mainnet

Hi Team,
Looking for resources that I can sue (compose file or dockerfile to build an image from) to run a Dogecoin mainnet full node (having data from genesis). Space and CPU/RAM are not an issue for me.
I hope this is achievable, though I do not see a recently upgraded dockerfile in the repo for Release 1.14.7. Please guide.
Thanks,
Palak

https://github.com/GreatApe42069/NodeRunnerDocker.git

@GreatApe42069 Thanks for the link. Is this an official setup or are you a developer from Dogecoin team itself?


Improve search results

Search results are really bad.
Tasks

improve query and use supabase server client and nextjs actions
review conditions and params
sort by date
clean bad data on db

Watch this video https://monosnap.com/file/cN9rU3fM1bfoQZlrxsJ2813DsiEyUM

@sheriffjimoh I am looking this is assigned to @TopETH , so it would be good to check status here.
Nathan - I think Jimoh can take this and you can take other tasks as well since you have been on another set of issue on another monorepo.

I will take this.

@AndlerRL Another one related to search impro and other branch, we should close it

 Brandon Development Support - October 2024


release SSDT for vs2017 15.9.1

update download page for ssdt for vs2017 15.9.1

@MSraye : Thanks for your contribution! The author, @stevestein, has been notified to review your proposed change.

#sign-off


Upgrade modules to ZF3 compatible version.  Update unit tests to ZF3 …

…compatible versions. Update Authorize.net library to 1.9.1.

Coverage remained the same at 100.0% when pulling 471714052badd68ec132c8543f7cfe5e3696bace on Stiffel:feature/zf3-compatibility into c3b28bd893769b47914bd8bba45fefc615bd783c on soliantconsulting:master.


Allow docking panels next to each other

It'd be great if one could dock panels any way we want as Visual Studio allows, for instance:

I know there's the secondary panel on the right but that is not always sufficient.

/duplicate of #169809 though that issue doesn't have a very descriptive title.

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


figures on spatial and temporal resolutions for chapter 1

creating this issue for future reference. Won't fix for 2021.

see #31


Failed to find exact match with ansible-operator:v0.7.0 docker image

Bug Report

What did you do?
We recently rebased github.com/MarSik/kubevirt-ssp-operator on top of quay.io/operator-framework/ansible-operator:v0.7.0.
Our operator, among other things, deploys openshift templates. We get this error trying to deploy the aforementioned templates: "Failed to find exact match for template.openshift.io/v1.Template by [kind, name, singularName, shortNames]"
Using the very same role from command line works fine with
ansible-playbook 2.7.9
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]

What did you expect to see?
templates deployed succesfully
What did you see instead? Under which circumstances?
error: "Failed to find exact match for template.openshift.io/v1.Template by [kind, name, singularName, shortNames]"
Environment

operator-sdk version:
quay.io/operator-framework/ansible-operator:v0.7.0

Kubernetes version information:
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://<IP_ADDRESS>:8443
kubernetes v1.11.0+d4cacc0

Kubernetes cluster kind:
bare metal

Are you writing your operator in ansible, helm, or go?
ansible

Additional context
Role here: https://github.com/MarSik/kubevirt-ssp-operator/blob/master/roles/KubevirtCommonTemplatesBundle/tasks/main.yml

/cc @fabianvf @shawn-hurley

This is actually due to a fix in the openshift python client, basically there are two resources in the openshift API with the GVK of templates.openshift.io/v1 Template, previously the client would only discover one of them (whichever one was processed first), but now the client properly reports two matching resources which unfortunately makes the k8s module fail.
The hacky workaround for now is that you can put templates into the kind of the object rather than Template, which due to the fuzzy way that the k8s module matches the resource will find the proper one. In the long-term we probably just need to add a module specifically for dealing with Templates since they violate the otherwise valid assumption that each GVK maps to a single resource.

Closing this for now as it's not anything that the operator-sdk can fix, this would have to be fixed either in https://github.com/ansible/ansible or https://github.com/openshift/openshift-restclient-python


Please Add the ability to supply a list of NFT ID's and know if they are contained within one Solana Address

Hello,
Please add the ability for a NFT project to supply a text file with the NFT ID's and know if they are all contained within a single Solana address.

Allows for the ability to offer bonuses based on the collections of NFT Holders. No PII is required other than to know if a specific group of NFT's exist in an unknown Solana Address.

The expected output would be a single address if all exist in one Solana address, or possibly multiple addresses if they do not exist all in one address.

It seems like this would be satisfied by just adding the ability to for snapshot holders to accept a list of mints, correct?

In a round about way yes, I was just thinking that it would quicker to be able to supply a list via text file and get a response back with the addresses in stead of having to manually scroll through 10k ID's

In a round about way yes, I was just thinking that it would quicker to be able to supply a list via text file and get a response back with the addresses in stead of having to manually scroll through 10k ID's

The snapshot holders command currently accepts a candy machine id/first verified creator or update authority and it goes and fetches all the mint accounts. Then it finds all the holders of each of the NFTs associated with those mint accounts.
What you want sounds like just the second step, so instead of passing in a single address you would be able to pass in a path to a JSON file with a list of NFT mint addresses and get back a list of holders for those addresses.

Correct, that would work
-------- Original Message --------
On Feb 2, 2022, 9:56 AM, Samuel Vanderwaal wrote:

In a round about way yes, I was just thinking that it would quicker to be able to supply a list via text file and get a response back with the addresses in stead of having to manually scroll through 10k ID's

The snapshot holders command currently accepts a candy machine id/first verified creator or update authority and it goes and fetches all the mint accounts. Then it finds all the holders of each of the NFTs associated with those mint accounts.
What you want sounds like just the second step, so instead of passing in a single address you would be able to pass in a path to a JSON file with a list of NFT mint addresses and get back a list of holders for those addresses.
—
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: @.***>

Added this to the 0.4.0 roadmap.

Awesome, ty

snapshot holders accepts a mint list as of 0.5.0


Validation not called on server side

We have strange issue with our custom validator that checking unique field of Model. If there are other errors while validation custom validator doesn't launched at server(only on client in simulation). If we have no other validation errors so it launches on server and everything is ok.
How simulation should work? Does it start every time or there is some important condition?
Our validator:
Validator.create({
  name: 'unique',
  isValid({name, value, doc}) {
    const collection = doc.constructor.getCollection();
    let selector = {};
    selector[name] = value;
    console.log(selector);
    const foundItems = collection.find(selector);

    const count = foundItems.count();
    if (count > 1) {
      return false;
    }
    if (count === 0) {
      return true;
    }
    const foundItem = foundItems.fetch()[0];
    return foundItem._id === doc._id;
  },
  resolveError() {
    return 'uniqueViolationError';
  }
});

Our validated Model:
const InitiatorFormData = CompanyFormData.inherit({
  name: 'InitiatorFormData',
  fields: {
    identifier: {
      type: String,
      default: '',
      validators: [
        {type: 'unique'},
        {
          type: 'length',
          param: 8,
          message: 'lengthError',
        },
      ],
    },
    kind: {
      type: InitiatorKind,
      default: InitiatorKind.GENERAL,
    },
  },
  helpers: {
    getFieldNames() {
      return ['identifier', 'shortName', 'fullName', 'address', 'mainActivity', 'webSite', 'kind'];
    },
  },
});

and base Model:
const CompanyFormData = Class.create({
  name: 'CompanyFormData',
  typeField: 'type',
  collection: Companies,
  fields: {
    shortName: {
      type: String,
      default: '',
      validators: [{type: 'notEmpty'}],
    },
    fullName: {
      type: String,
      default: '',
      validators: [{type: 'notEmpty'}],
    },
    address: {
      type: Address,
      default: new Address(),
    },
    mainActivity: {
      type: String,
      default: '',
      validators: [{type: 'notEmpty'}],
    },
    webSite: {
      type: String,
      default: '',
      optional: true,
      validators: [{type: 'isValidWebUri'}],
    },
  },
});

P.S.: As temporary solution I disabled simulation and it allowed this validator work all the time.

Have you tried setting the stopOnFirstError flag to false? It's described in docs http://jagi.github.io/meteor-astronomy/v2#validation

Yes. It is always set to false. We have many form validations.
"company.validate({stopOnFirstError: false}, ..."

So, you have to create reproduction repository. Without that it's hard to tell


Veeam 365 mailbox .pst download never start

Hello,
When trying to export a whole mailbox (not just some emails) from the WEB GUI the “Your export is starting” window is displayed and after ~60” i am redirected to the download.php page.
After that the download never starts.
Even if the restore job in Veeam 365 management console finished the export in C:\Windows\Temp\REST_EXPORT_7a6bab70, the download never starts.
Could i ask if there is any known issue about this process or i am missing something?
Thanks,
Dimitris

Do you have an idea of the size? Most likely you hit the PHP timeout issue. Large downloads is something complex via the UI and most likely will require another way of processing.

Would it be an idea to run the export in a background task and provide a download link on the portal, when finished?

It is something I've been considering implementing but haven't managed to create yet. The concern around it is that you need either space on the portal server to store it during the export process or provide something like AWS S3 or Azure Blob.
Space on the server could be an issue for large exports (someone asked me to export a 400GB OneDrive), AWS S3/Azure Blob would work there but that comes with an additional cost.


Add script to test model

@m-novikov this is the other thing I worked on during the hackathon:

added a script to load a model from a model.zip or model.yaml, load the model, predict with the test input and compare to the test output
I updated create_model_adapter so that the weight format can be passed as optional parameter. (This is used in the test script so that multiple weight formats can be tested)

I'll try to merge it once I finish refactoring where I extract preprocessing and postprocessing and leave thin model wrappers, to avoid code duplication in each model adapter. https://github.com/ilastik/tiktorch/pull/149


Face Detection using YOLOV4 Algorithm

YoloV4 implemented by TensorFlow2, with support for training, evaluation, and inference.

Assigning you


chore: update icons to match design

Minor icon changes which were bugging me 😅
Before

After

Nice! :muscle:
cc @stackingsaunter


[React Native + Babel issues] depencency issues

I'm using the plugin together with newest React Native, React 15 and Babel 6. Since your plugin uses Babel 5 and older version of React, it causes some collisions (npm 3). Updating them manually solves the issue for me.

@oreqizer Babel is a devDependency, so that shouldn't be installed when you install the plugin. I also don't think that npm 3 also should have any issues with multiple versions of React. Can you add some specifics about what conflict is happening there?

Closing for now. Feel free to reopen if you can provide some more info.


Support Distributed Request Tracing

Is your feature request related to a problem? Please describe.
Especially when investigating issues related to performance, having access to tracing data for each request (or some percentage) is quite useful.
Describe the solution you'd like
A tracing solution (maybe based on https://opentelemetry.io/) should be integrated into the server. It can propagate the trace context received from HTTP clients and can add custom spans to instrument internal processing steps.
Describe alternatives you've considered
Additional context

Thank you for submitting.
At one point, I did look at Zipkin and Open Liberty fits the current approach of using Open Liberty https://openliberty.io/guides/microprofile-opentracing.html .


Add session token as the last query parameter

Some AWS services, like IoT (specifically the MQTT message queues), won't accept token requests unless the token is the final query parameter. This is not always documented, and leads to somewhat frustrating debugging session as you can imagine :)
AWS indicates this in their docs:
"For other services, you add the X-Amz-Security-Token parameter at the end, after you calculate the signature. For details, see the API reference documentation for that service."
Adding it as the last query key is a little silly, but should work in most runtimes and definitely won't make anything worse. A more complete but ugly solution is to manually encode the security token and slap it at the end of the URL.

Nice catch! Didn't notice that :)

Odd that it's a requirement, I've personally not used session tokens yet so haven't stumbled on it yet.
Thanks, will release a new version soon!


Gitlab OpenShift guide

A guide how to install the Dagger engine on OpenShift and connect it with self hosted GitLab Runners

@schlapzz Thank you so much for this guide contribution! The review team is very busy right now leading up to KubeCon, so we appreciate your patience 🙏

@schlapzz thank you for this contribution! I would like to do a light copy edit on the content before publishing. Would that be OK? If yes, should I push direct to your PR or do you prefer a different approach (inline suggestions, PR opened on your PR, etc)?
Also pinging @kpenfound for configuration review.

@vikram-dagger Of course, you can edit the content as you want and push it directly into the branch

@vikram-dagger Of course, you can edit the content as you want and push it directly into the branch

@schlapzz , thank you! I have done a quick copy edit and added some comments/questions inline for your attention.

@vikram-dagger Do you need anything more to complete this PR?

@vikram-dagger Do you need anything more to complete this PR?

I did not get a chance to review this again due to other tasks, but will do so in the next 1-2 days. Also pinging @kpenfound for review.

@schlapzz to help move this along, could you please also fix the DCO and lint errors? Thank you!

@vikram-dagger Sorry, totally messed up the PR while trying to fix the DCO.
Going to close this one an reopen new one

Closed in favour of #6153


How to use this project with an Aspnetboilerplate project?

I have an existing project made by Aspnetboilerplate, how can I integrate this project into it?
with your instructions, I face errors at runtime.

I don't know, never used it before.


⚠ Bofrost.at has degraded performance

In e1aa032, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 3146 ms

Resolved: Bofrost.at performance has improved in 1235a52.


Enable greenkeeper.io service, auto-update vulnerable packages

For https://github.com/JanitorTechnology/janitor and https://github.com/JanitorTechnology/selfapi we enabled the https://greenkeeper.io integration a while ago, and we're very happy with it (it automatically opens pull requests to upgrade dependencies in package.json when newer versions are available).
For sc, it would, for example, automatically open a pull request to upgrade ws from the current (vulnerable*) version to the latest (safe) version 4.0.0. And if it passes the tests, you can simply merge these PRs anytime a package is upgraded. Easy peasy! 🌴

We also use the https://snyk.io dependency, which tells you if some dependencies are vulnerable. And it turns out that there is a DDoS vulnerability in ws, versions <1.1.5 or >=2.0.0 <3.3.1.

@espadrine If you make me a project collaborator/admin, I can do that for you. 😄

You already are a project collaborator!
I'd like to review all patches though.

@espadrine Being a project collaborator doesn't allow me to enable Greenkeeper, only an owner or admin can do that.
Please add me as a project owner or admin, or enable https://greenkeeper.io on https://github.com/espadrine/sc/.
Then, Greenkeeper will open pull requests when package updates are available, and you'll be able to review all these patches (and also verify that they pass the tests on Travis).

Please add me as a project owner or admin

I was going to, but I couldn't find a way. Reading the Greenkeeper doc further:

Giving Greenkeeper these permissions can only be done by an admin of the organisation. Having admin rights to an individual repo in an organisation is not sufficient.

Looks like I cannot do that for sc specifically, and since it is under espadrine (a user, not an organization), I cannot do that at the (non-existent) organization level either (or at least I didn't find a way).
Instead, I added Greenkeeper to the sc repo by authenticating myself.

Perfect, thanks!


What is this project?

I came to know about this project from ben awad's video. I have subscribed to his channel.
What is this project used for? I am not able to underatand. Taking voice conversation to moon. Is this something like zoom meetings?

Right now it is a bit like the app "clubhouse", but it's going to have monopoly position in the audio-communication market with a ton features and ways to monetize your conversations actually already within the next few days.


bug: checks/aws/rds/enable-performance-insights

Describe the bug
Encryption for Performance Insights seems to be required even though Performance Insights is disabled.
Note: The tfsec documentation for this issue seems to be wrong, or at least very confusing: The URL says "enable-performance-insights", the title says "Encryption for RDS Performance Insights should be enabled", explanation says "When enabling Performance Insights on an RDS cluster or RDS DB Instance, and encryption key should be provided", and the tool itself reports "Instance does not have performance insights enabled".
I don't understand how not having Performance Insights enabled is a security risk. If the encryption is the problem, then it shouldn't report the error if Performance Insights is disabled. And especially when encryption actually is enabled.
To Reproduce
Steps to reproduce the behavior:

Run the Github workflow in https://github.com/MartinSMadsen/terraform-security-scan.

Expected behavior
Tool does not report an error for Performance Insights if Performance Insights is disabled.
Screenshots/Output
From https://github.com/MartinSMadsen/terraform-security-scan/runs/5467333705:

System Info

tfsec version: master (using https://github.com/triat/terraform-security-scan)
terraform version: ?
OS: ubuntu-latest

Example Code
See https://github.com/MartinSMadsen/terraform-security-scan.

Hey @MartinSMadsen  - this looks like a documentation issue - the check is actually that performance insights should be enabled but the associated documentation is off. I'll fix that now. I also don't think it should be high so I'll look into that too
Also, for clarity I've moved to defsec as this is where checks are - It'll be in mainline tfsec later today/tomorrow


[BUG][ESP32]TC[ACE-1.4] Details=PIXIT.ACE.APPENDPOINT is not found

Reproduction steps

Tested on TE1.1 commit
The script for running the test case fails with error: Details=PIXIT.ACE.APPENDPOINT must be included on the command line in the --int-arg flag as PIXIT.ACE.APPENDPOINT:, Extras=None
Logs
- DUT esp32.txt
- Test Harness th.txt

Bug prevalence
EveryTime
GitHub hash of the SDK that was being used
7e69c66bb44c91fe0b9bed7c7b8d272d3208c8dd
Platform
esp32
Platform Version(s)
No response
Anything else?
No response

@tcarmelveilleux @cjandhyala

Please use the following command:
python3 python_testing/TC_ACE_1_4.py --int-arg PIXIT.ACE.APPENDPOINT:1 PIXIT.ACE.APPDEVTYPEID:{device-type-id-of-app-endpoint} --string-arg PIXIT.ACE.APPCLUSTER:OnOff  PIXIT.ACE.APPATTRIBUTE:StartUpOnOff --discriminator 3840 --passcode 20202021 --commissioning-method ble-wifi --paa-trust-store-path /paa_roots --storage-path admin_storage.json --wifi-ssid {ssid} --wifi-passphrase {password} --ble-interface-id 0

@PSONALl Could you pls file issue in scripts repo if it is still an issue with the test script

@PSONALl closing the issue for now. pls re-open if you think the issue still exists.


[emberjs] Update 5.3 lts, eoas, eol

https://emberjs.com/releases/lts/
Closes #5215

Thank you @glenn-vandeputte for reporting in #5215, good catch. I have created this PR to update.
Glad if you can verify the preview with the update on https://deploy-preview-5216--endoflife-date.netlify.app/emberjs

This was caused by the auto update, just fixed the configuration.


Light control triggers

Is it possible to detect when a new notification is created?  I would love to be able to have one or more of my bulbs blink and/or change color when a notification arrives.
I really like your extension, simple and useful.

Hi @RedKrieg , thank you for the suggestion. I like your idea. I will look into it, can't promise it right now. I did fast research, and it should be possible. I will let you know here. Stay tuned.

Hi @RedKrieg, version 5 is available on e.g.o with lights notification support. The selected lights blink for 1 second when the notification is created. You can choose the color and brightness of the lights.

It works perfectly for my hue bulbs!  I thought it wasn't working at first because the hue strip I selected wasn't changing, but it seems like the hue strip problem affects changing color in the entire application, so I'll open a different issue for that once I do a bit of research.  Thank you for this feature, it's exactly what I wanted!


[mat-menu]: control the arrow position in a nested menu trigger

Bug, feature request, or proposal: feature
What is the expected behavior?
Developer can define the location of the arrow in a nested menu submenu trigger.
What is the current behavior?
Icon is fixed to left (or right in dir=rtl) and does not take into account to nested menu positioning.
What is the use-case or motivation for changing an existing behavior?
When a menu is close to the edge of the viewport, all nested menus will position on the opposite side. A menu on the top right, in LTR direction with a nested menu will create an arrow on the submenu trigger that is on the opposite side of the position of the submenu:

Making the menu RTL makes it worse.
The optional locations should be one of:

left
right
auto

Where left and right are fixed.
auto will instruct the menu (or trigger) to calculate the position (left/right) based on where the submenu will open.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular 5.0.1, material rc0
With the current implementation, this can be achieved with css classes.
It will also require extra padding based on the result (left/right), currently the extra padding is always right (or left in RTL)
@jelbourn If this feature is approved, and if possible, i'd like to implement if/once API is agreed upon.
Thanks.

see https://angular-material2-issue-4bxtus.stackblitz.io

This is according to the spec:

Also see https://github.com/angular/material2/issues/7921#issuecomment-338283248 for a more details explanation.

I agree with your comment but this is still a problem.
The screenshot above is fine but when this is rendering on a trigger that is always on the right of the screen it's weird.
So, auto-setting an icon is out of the question but being able to define left/right for the arrow only in the top-most menu, that should be allowed.


Multiple Account Logins

Provide us a use case of the feature
I have a few accounts that follow a bunch of private accounts. it would be nice if I could somehow use a multi-login approach to maintain the private accounts.
Right now I have textfiles with the account login info, and the list of corresponding users, however this means automation isn't really possible.
Describe the solution you'd like
In a textfile when inputting the account details the usernames that follow should be tied to that account. When the textfile has another account, any users under that should be tied to that. So the script uses the first credentials, downloads the profiles, then logs into the next account, downloads those profiles etc.
Describe alternatives you've considered
N/A
If the feature request is accepted, would you be willing to submit a PR?
No; but can help

You can simply use a script (for example a batch script on Windows) to automatically invoke Instaloader separately with each account. There is no advantage in implementing this feature on Instaloader's side and would add unnecessary complexity.


GODS Lands of Infinity display incorrectly

GODS Lands of Infinity show incorrect display when using dxvk d3d9.dll

It should be like this

Software information
GODS Lands of Infinity
System information

GPU: GTX 1060
Driver: nvidia 460.67
Wine version: 6.4.0
DXVK version: 1.8.1

Apitrace file(s)

trace

Log files

d3d9.log: d3d9.log.gz
d3d11.log: none
dxgi.log: none

DXVK version: 1.8.1

Please test with the latest release, you're two versions behind.

Still present, SetGammaRamp needs to reject invalid gamma ramps.


Error 9989

Hi!
I'm getting the following error:
[Connection-1 severe] Unable to connect socket: Error code: -9989(0x-2705), Operation not permitted
my config looks like this
var configuration = PostgresClientKit.ConnectionConfiguration()
configuration.host = "localhost"
configuration.database = "recetas"
configuration.user = "postgres"
configuration.ssl = false
configuration.credential = Credential.trust

while this works:

Any idea of what am I doing wrong?

Your code snippet looks OK.  Are you able to connect using psql?  For example:
psql -h localhost -p 5432 recetas postgres

Is the client app running on macOS or Linux?  If macOS, what version?  And are you running within Xcode, or a built application?
"Operation not permitted" sounds like the enhanced System Integrity Protection features in macOS.  I'm still on Mojave (10.14.6), but I understand that SIP is even more aggressive in Catalina.  If you are on Catalina, you might try temporarily disabling SIP using csrutil (as described here).

I can, and other clients like "SQLPro for Postgres" app is able to connect. I'm in catalina, I'll look deeper into it...

I'm running in to the same issue in Monterey. Could you point me to how you resolved this?

After a little bit of reading and settings browsing and for the benefit of others:
Xcode project settings -> Targets: Signing / Capabilities -> App Sandbox -> Network - Outgoing connections


Dynamically load DB implementation error checking.

When trying to set up e2e tests, the cgo dependency that go-sqlite3
introduces caused issues when trying to run ko built containers. While
enabling CGO_ENABLED=1 would allow the image to built by ko, trying to
run it would encounter the error:
standard_init_linux.go:219: exec user process caused: no such file or directory

Most threads suggested disabling CGO_ENABLED to resolve this.
Instead of trying to fight with runtimes to get the CGO image to work,
since we only use sqlite3 for local unit testing this change modifies
the error handling to dynamically load the error space for DB
implementation specific error handling. This allows us to isolate usage
of cgo to only unit tests, removing the dependency from the ko built
image.
Part of #15, Fixes #17

/lgtm


RHBPMS-479 - Business Central Creates Multiple WIDs if You Create A P…

…rocess in a non-root package

+1


Add Arch Linux Installation

PKGBUILD is available here:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=dstp

This is great, thank you @aminvakil 🎉.

FYI I also created https://aur.archlinux.org/packages/dstp-git/ which installs dstp using the latest commit of main branch, but I don't think it's necessary to mention it on README.md


[feature] Initializing the new Go client

Reason/Context
Hi awesome Microcks community!
Today, I want to propose the new Go client for Microcks.
Regarding the contributing process, I start to open a new issue to describe the idea.
Description
We need a strong Go client that following the Microcks core releases.
In this vision, I'd like to propose that the new Go client be generated using the Open API schemas.
My choice was the following tool: github.com/deepmap/oapi-codegen
In addition, we need to add some helpers to facilitate the go Client usage (for example missing enums, etc)
Implementation ideas
Implementation
This is my idea of implementation: https://github.com/JulienBreux/microcks-client-go/tree/main
How to use it?
package main

import (
    "github.com/microcks/microcks-go-client"
)

const server = "http://localhost:8080/api"

fun main() {
	// Create client
	client, err := api.NewClientWithResponses(server)
	if err != nil {
		fatal(err)
	}

	// Request the Keycloak configuration
	ctx := context.Background()
	resp, err := c.actions.GetKeycloakConfigWithResponse(ctx)
	if err != nil {
		fatal(err)
	}

	// Print the response
	fmt.Printf("%+v\n\n", resp.JSON200)
}

I can also work with the owners of the Microcks project to get a much cooler package address.
For example:
import (
    "microcks.io/microcks-go-client"
)

(Just use the following meta <meta name="go-import" content="...">)
Final note
Regarding the contributing process. After validation of this feature/idea, I will create the PR (+ roadmap of others ideas (live integration testing, etc...)).

Hey Julien!
I love your approach, as discussed previously. The nice thing is that we just published the 1.8 OpenAPI specification for Microcks API 😉  This one can be found here: https://github.com/microcks/microcks/blob/1.8.x/api/microcks-openapi-v1.8.yaml.
From what I understand, we'd just have to use this new reference and re-generate the client but ... I can't see any reference to the 1.7 version in config files or other ... Is there some kind of discovery mechanism that just uses what's found under the /schema folder?
I've got another question regarding the versioning scheme: how can we track the matching between version the go-client version and the API version? Should we include a 1.8 info in the title to inform it was generated from the 1.8? How is this question usually handled in the Go community?
Many thanks for your contribution! Please go ahead with the PR! 👍

From what I understand, we'd just have to use this new reference and re-generate the client but ... I can't see any reference to the 1.7 version in config files or other ... Is there some kind of discovery mechanism that just uses what's found under the /schema folder?

Yes, that's a good idea.
In fact, I have two questions to answer:

Are we going to use classic SEMVER or version this client like Kubernetes? (https://github.com/kubernetes/client-go?tab=readme-ov-file#compatibility-matrix)
For Kubernetes Go client, we use go get<EMAIL_ADDRESS>(or obviously go get k8s.io/client-go@latest.
Is the client multi-version compatible, or does each version of the client represent the major version of Microcks?

My idea is to have the same things:
All yaml in schema folder BUT core branch like 1.7.x, 1.8.x to distribute for each version.

I use the idea of Kubernetes to avoid reinventing the wheel!

Awesome!!!


No way to know if the connect is available?

I code as demo and I cannot get the result in the jaeger web,
I set LogSpan: true but no error record.
I don't know if it because I used the span in a wrong way, or the connect to jaeger agent is not available.
Is there a way to test the connect is available, such as tracer.Ping()？

the same ;(


Azureml quick start changes

Adding a screenshot to reflect the term "Azure Machine Learning" and adding the resource terms like storage, KV, AppInsights and ACR

@IamVarma : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@sdgilley
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@IamVarma @sdgilley - will merge this but you need to remove the unused image file includes/media/aml-create-in-portal/machine-learning.png  can you do that in a follow-up PR? thanks.

Yes, I'll do that.